lib: use command to run rm in upgrade function (#8696)

This commit is contained in:
Marek Dědič
2020-03-03 13:46:06 +01:00
committed by GitHub
parent 4009668500
commit bbe54e4e60

View File

@ -8,7 +8,7 @@ function uninstall_oh_my_zsh() {
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" command rm -rf "$ZSH/log/update.lock"
} }
function take() { function take() {