Browse code

Fix bug from Pull request #395 #395 broke oh-my-zsh for users who disable check-for-updates

Michael Komitee authored on 04/06/2011 at 18:03:10
Showing 1 changed files
... ...
@@ -1,8 +1,6 @@
1 1
 # Check for updates on initial load...
2
-if [ "$DISABLE_AUTO_UPDATE" = "true" ]
2
+if [ "$DISABLE_AUTO_UPDATE" != "true" ]
3 3
 then
4
-  return
5
-else
6 4
   /usr/bin/env zsh $ZSH/tools/check_for_upgrade.sh
7 5
 fi
8 6