diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-11-12 10:22:30 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-11-12 11:08:54 -0700 |
commit | 74585ec4711667c76ecdad7eb53590cb912501ba (patch) | |
tree | 688e24d739116ab4f5b0f1e3c499fa849ffbbc7b | |
parent | b9ccecdea5a13466ae77f48e6b636fcf0b37bf37 (diff) | |
download | dotfiles-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-x | bin/bstraph.sh | 13 |
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 |