rvm & vim will only update if they're pre-installed
This commit is contained in:
parent
9e15fed390
commit
9e918a31f1
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/zsh
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
# Ask for the administrator password upfront
|
# Ask for the administrator password upfront
|
||||||
sudo -v
|
sudo -v
|
||||||
|
@ -21,10 +21,15 @@ echo-g "==> Updating zsh, rvm and vim"
|
||||||
# Then the rest
|
# Then the rest
|
||||||
install/zsh
|
install/zsh
|
||||||
echo
|
echo
|
||||||
if is_mac; then
|
|
||||||
|
# Only update rvm is it is installed
|
||||||
|
if is_mac && command_exists rvm; then
|
||||||
install/rvm
|
install/rvm
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -d ~/.vim ]; then
|
||||||
install/vim
|
install/vim
|
||||||
|
fi
|
||||||
|
|
||||||
echo-g "==> All done!"
|
echo-g "==> All done!"
|
||||||
|
|
Loading…
Reference in a new issue