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"
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