Don't abort on when trying to update dotfile-repository

This commit is contained in:
2024-05-29 21:43:21 +00:00
parent 6dd350a20d
commit 7d2a10d47e

View File

@@ -102,10 +102,10 @@ then
git clone --separate-git-dir=$GIT_DIR $GIT_REMOTE $HOME/tmp-dotfiles git clone --separate-git-dir=$GIT_DIR $GIT_REMOTE $HOME/tmp-dotfiles
rm -r ~/tmp-dotfiles rm -r ~/tmp-dotfiles
else else
/usr/bin/git --git-dir "$GIT_DIR" --work-tree "$HOME" pull /usr/bin/git --git-dir "$GIT_DIR" --work-tree "$HOME" pull || true
fi fi
/usr/bin/git --git-dir "$GIT_DIR" --work-tree "$HOME" config --local status.showUntrackedFiles no /usr/bin/git --git-dir "$GIT_DIR" --work-tree "$HOME" config --local status.showUntrackedFiles no || true
/usr/bin/git --git-dir "$GIT_DIR" --work-tree "$HOME" checkout /usr/bin/git --git-dir "$GIT_DIR" --work-tree "$HOME" checkout || true
# reload bash_profile to configure the current shell with the just installed dotfiles # reload bash_profile to configure the current shell with the just installed dotfiles
. ~/.bash_profile . ~/.bash_profile