626fa5b1d83abb145452deaa610fc8f7a59293c1

Author
nebirhos <nebirhos@aol.com>
Committer
nebirhos <nebirhos@aol.com>
Date

Message

fixed autoupdate

Diff

 1diff --git a/tools/check_for_upgrade.sh b/tools/check_for_upgrade.sh
 2index 4643739ca51b136737c4a1981e3354b8162cb66c..e1e4eb99f0a6c954ad09cf6faf1c4f0f9b342888 100644
 3--- a/tools/check_for_upgrade.sh
 4+++ b/tools/check_for_upgrade.sh
 5@@ -25,10 +25,11 @@ then
 6     if [ "$line" = Y ] || [ "$line" = y ]
 7     then
 8       /bin/sh $ZSH/tools/upgrade.sh
 9+      # update the zsh file
10+      _update_zsh_update
11     fi
12   fi
13+else
14+  # create the zsh file
15+  _update_zsh_update
16 fi
17-
18-# update the zsh file
19-_update_zsh_update
20-