summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-11-12 10:22:30 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-11-12 11:08:54 -0700
commit74585ec4711667c76ecdad7eb53590cb912501ba (patch)
tree688e24d739116ab4f5b0f1e3c499fa849ffbbc7b
parentb9ccecdea5a13466ae77f48e6b636fcf0b37bf37 (diff)
downloaddotfiles-74585ec4711667c76ecdad7eb53590cb912501ba.tar.gz
bstraph.sh: stop checking whether there is a host-specific branch
'bstrap.sh' is usually invoked by my INSINUATE-DOTFILES Consfigurator property or 'insinuate-dotfiles' shell script, and those both do shallow clones, so the host-specific branch isn't usually available.
-rwxr-xr-xbin/bstraph.sh13
1 files changed, 0 insertions, 13 deletions
diff --git a/bin/bstraph.sh b/bin/bstraph.sh
index 8123bb7d..46d6ba84 100755
--- a/bin/bstraph.sh
+++ b/bin/bstraph.sh
@@ -8,8 +8,6 @@
set -e
-# ---- Perform the bootstrap
-
if ! [ -e "$HOME/.mrconfig" ]; then
cat >"$HOME/.mrconfig" <<EOF
# -*- mode: conf -*-
@@ -27,14 +25,3 @@ fi
git remote add origin athena:dotfiles
fi
)
-
-echo "I: dotfiles bootstrap successful"
-
-# ---- Check if there is a host-specific branch
-
-hostname="$(hostname -s)"
-if ! [ "$hostname" = "master" ] \
- && ( cd "$HOME/src/dotfiles" && git branch -a | grep "origin/$hostname" ); then
- echo "I: there is a host-specific dotfiles branch for this host"
- echo "I: consider checking it out"
-fi