mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Fix another bug in auto update.
Only update .zsh-update when upgrade.sh is called.
This commit is contained in:
parent
746a10368a
commit
f267f9970c
1 changed files with 3 additions and 4 deletions
|
|
@ -25,10 +25,9 @@ then
|
||||||
if [ "$line" = Y ] || [ "$line" = y ]
|
if [ "$line" = Y ] || [ "$line" = y ]
|
||||||
then
|
then
|
||||||
/bin/sh $ZSH/tools/upgrade.sh
|
/bin/sh $ZSH/tools/upgrade.sh
|
||||||
|
|
||||||
|
# update the zsh file
|
||||||
|
_update_zsh_update
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# update the zsh file
|
|
||||||
_update_zsh_update
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue