mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
lib: delete upgrade lock in upgrade_oh_my_zsh
Provides a different solution to #8332 and #8333
This commit is contained in:
parent
f9a2d8cae3
commit
40b013f5f1
1 changed files with 3 additions and 2 deletions
|
@ -3,11 +3,12 @@ function zsh_stats() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function uninstall_oh_my_zsh() {
|
function uninstall_oh_my_zsh() {
|
||||||
env ZSH=$ZSH sh $ZSH/tools/uninstall.sh
|
env ZSH="$ZSH" sh "$ZSH/tools/uninstall.sh"
|
||||||
}
|
}
|
||||||
|
|
||||||
function upgrade_oh_my_zsh() {
|
function upgrade_oh_my_zsh() {
|
||||||
env ZSH=$ZSH sh $ZSH/tools/upgrade.sh
|
env ZSH="$ZSH" sh "$ZSH/tools/upgrade.sh"
|
||||||
|
rm -rf "$ZSH/log/update.lock"
|
||||||
}
|
}
|
||||||
|
|
||||||
function take() {
|
function take() {
|
||||||
|
|
Loading…
Reference in a new issue