Skip to content
This repository
Browse code

auto-upadate feature will now reset the epoch so that if a user doesn…

…'t say yes, it won't ask them again for a while. fixes #1240
  • Loading branch information...
commit 1c23a52f5744ef419e83733d18a6a698ddd14d1e 1 parent 1103421
Robby Russell authored July 20, 2012

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. 5  tools/check_for_upgrade.sh
5  tools/check_for_upgrade.sh
@@ -32,9 +32,10 @@ then
32 32
       echo "[Oh My Zsh] Would you like to check for updates?"
33 33
       echo "Type Y to update oh-my-zsh: \c"
34 34
       read line
35  
-      if [ "$line" = Y ] || [ "$line" = y ]
36  
-      then
  35
+      if [ "$line" = Y ] || [ "$line" = y ]; then
37 36
         _upgrade_zsh
  37
+      else
  38
+        _update_zsh_update
38 39
       fi
39 40
     fi
40 41
   fi

0 notes on commit 1c23a52

Please sign in to comment.
Something went wrong with that request. Please try again.