diff options
author | Peter Tillemans <pti@snamellit.com> | 2012-08-08 17:26:54 +0200 |
---|---|---|
committer | Peter Tillemans <pti@snamellit.com> | 2012-08-08 17:26:54 +0200 |
commit | 1a6d11dbae97d5d85129a550ec4aaba070d247e0 (patch) | |
tree | 3417db876f0bfcee95f984cb4b805419f8692b27 /tools | |
parent | cc98254b62658a988dd8cee0d5e1cb4172b6a064 (diff) | |
parent | d05b2010ffd4cd33ff9402c402051b1caf985d97 (diff) | |
download | zsh-1a6d11dbae97d5d85129a550ec4aaba070d247e0.tar.gz zsh-1a6d11dbae97d5d85129a550ec4aaba070d247e0.tar.bz2 zsh-1a6d11dbae97d5d85129a550ec4aaba070d247e0.zip |
Merge branch 'master' of https://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'tools')
-rw-r--r-- | tools/check_for_upgrade.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/check_for_upgrade.sh b/tools/check_for_upgrade.sh index bbd705a1e..612901cbe 100644 --- a/tools/check_for_upgrade.sh +++ b/tools/check_for_upgrade.sh @@ -32,9 +32,10 @@ then echo "[Oh My Zsh] Would you like to check for updates?" echo "Type Y to update oh-my-zsh: \c" read line - if [ "$line" = Y ] || [ "$line" = y ] - then + if [ "$line" = Y ] || [ "$line" = y ]; then _upgrade_zsh + else + _update_zsh_update fi fi fi |