Browse Source

fixed autoupdate

nebirhos 13 years ago
parent
commit
626fa5b1d8
1 changed files with 5 additions and 4 deletions
  1. 5 4
      tools/check_for_upgrade.sh

+ 5 - 4
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
-