Fix another bug in auto update.

Only update .zsh-update when upgrade.sh is called.
This commit is contained in:
Christopher Chow 2011-02-22 22:31:26 +11:00
commit f267f9970c

View file

@ -25,10 +25,9 @@ then
if [ "$line" = Y ] || [ "$line" = y ]
then
/bin/sh $ZSH/tools/upgrade.sh
# update the zsh file
_update_zsh_update
fi
fi
fi
# update the zsh file
_update_zsh_update