diff options
author | Matt Singleton <matthew.j.singleton@gmail.com> | 2011-01-01 21:36:28 -0500 |
---|---|---|
committer | Matt Singleton <matthew.j.singleton@gmail.com> | 2011-01-01 21:36:28 -0500 |
commit | 69500d1e1dc6280dd8d430366a8402732072c951 (patch) | |
tree | 3396301388ba94b1febb5102ab10dc68ae3d6c63 | |
parent | 68fb5580289de982a562e49795e3184607689768 (diff) |
check for dependencies before installing
-rwxr-xr-x | deploy.sh | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -2,6 +2,18 @@ set -e +# check for dependencies +echo "Checking for dependencies" +echo " oh-my-zsh..." +if [ ! -e ~/.oh-my-zsh/lib ]; then + echo " not found!" + exit 1 +fi +if [ ! -e ~/.oh-my-zsh/themes ]; then + echo " not found!" + exit 1 +fi + # template git profile echo "enter your global git user name:" read name |