update: don't install zsh if it's not installed

This commit is contained in:
Henrik Lissner 2013-10-15 18:57:23 -04:00
parent 1dfe12adb1
commit 1b90afec37

View file

@ -17,10 +17,12 @@ git pull
echo-g "==> Updating installed packages" echo-g "==> Updating installed packages"
pkg-update pkg-update
echo-g "==> Updating zsh, rvm and vim" if command_exists zsh; then
# Then the rest echo-g "==> Updating zsh, rvm and vim"
install/zsh # Then the rest
echo install/zsh
echo
fi
# Only update rvm is it is installed # Only update rvm is it is installed
if is_mac && command_exists rvm; then if is_mac && command_exists rvm; then