Fix upgrade

This commit is contained in:
Ivan Bushchik 2022-07-09 17:49:51 +03:00
parent ed76a913b9
commit 141f709035
No known key found for this signature in database
GPG key ID: 3E4E9C7D66E44BF7

View file

@ -9,7 +9,7 @@ CLEAR_COLOR="\033[0m"
cd $HOME/.dotfiles
echo "1) ${GREEN}Upgrading dotfiles$CLEAR_COLOR"
if git pull > /dev/null 2>&1
if ! git pull > /dev/null 2>&1
then
echo "$HOME/.dotfiles synced"
else