Fix bug from Pull request #395
#395 broke oh-my-zsh for users who disable check-for-updates
This commit is contained in:
parent
e8bd400bff
commit
9b4a89f327
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user