Fix bug from Pull request #395
#395 broke oh-my-zsh for users who disable check-for-updates
This commit is contained in:
parent
55e86a4765
commit
c2648a7ebf
@ -1,8 +1,6 @@
|
|||||||
# Check for updates on initial load...
|
# Check for updates on initial load...
|
||||||
if [ "$DISABLE_AUTO_UPDATE" = "true" ]
|
if [ "$DISABLE_AUTO_UPDATE" != "true" ]
|
||||||
then
|
then
|
||||||
return
|
|
||||||
else
|
|
||||||
/usr/bin/env zsh $ZSH/tools/check_for_upgrade.sh
|
/usr/bin/env zsh $ZSH/tools/check_for_upgrade.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user