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"
|
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
|
||||||
|
|
Loading…
Reference in a new issue