update: don't install zsh if it's not installed
This commit is contained in:
parent
1dfe12adb1
commit
1b90afec37
10
bin/update
10
bin/update
|
@ -17,10 +17,12 @@ git pull
|
|||
echo-g "==> Updating installed packages"
|
||||
pkg-update
|
||||
|
||||
echo-g "==> Updating zsh, rvm and vim"
|
||||
# Then the rest
|
||||
install/zsh
|
||||
echo
|
||||
if command_exists zsh; then
|
||||
echo-g "==> Updating zsh, rvm and vim"
|
||||
# Then the rest
|
||||
install/zsh
|
||||
echo
|
||||
fi
|
||||
|
||||
# Only update rvm is it is installed
|
||||
if is_mac && command_exists rvm; then
|
||||
|
|
Loading…
Reference in a new issue