Make upgrade script generic

This commit is contained in:
Oliver 2012-10-18 18:14:48 +02:00
commit 9b971be467

View file

@ -2,7 +2,7 @@ current_path=`pwd`
printf '\033[0;34m%s\033[0m\n' "Upgrading Oh My Zsh"
cd $ZSH
if git pull origin master
if git pull
then
printf '\033[0;32m%s\033[0m\n' ' __ __ '
printf '\033[0;32m%s\033[0m\n' ' ____ / /_ ____ ___ __ __ ____ _____/ /_ '
@ -16,4 +16,4 @@ else
printf '\033[0;31m%s\033[0m\n' 'There was an error updating. Try again later?'
fi
cd "$current_path"
cd "$current_path"