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