summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornebirhos <nebirhos@aol.com>2011-04-29 17:12:40 +0200
committernebirhos <nebirhos@aol.com>2011-04-29 17:12:40 +0200
commit626fa5b1d83abb145452deaa610fc8f7a59293c1 (patch)
treec1195e7a7eb04375dab20cbdfecb8d31f1181e45
parent784c56cd09842c28df9a2e78279dd0667db8da47 (diff)
downloadzsh-626fa5b1d83abb145452deaa610fc8f7a59293c1.tar.gz
zsh-626fa5b1d83abb145452deaa610fc8f7a59293c1.tar.bz2
zsh-626fa5b1d83abb145452deaa610fc8f7a59293c1.zip
fixed autoupdate
-rw-r--r--tools/check_for_upgrade.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/check_for_upgrade.sh b/tools/check_for_upgrade.sh
index 4643739ca..e1e4eb99f 100644
--- a/tools/check_for_upgrade.sh
+++ b/tools/check_for_upgrade.sh
@@ -25,10 +25,11 @@ then
if [ "$line" = Y ] || [ "$line" = y ]
then
/bin/sh $ZSH/tools/upgrade.sh
+ # update the zsh file
+ _update_zsh_update
fi
fi
+else
+ # create the zsh file
+ _update_zsh_update
fi
-
-# update the zsh file
-_update_zsh_update
-