diff --git a/extras/check_for_update.zsh b/extras/check_for_update.zsh index e38984f..b02d63b 100755 --- a/extras/check_for_update.zsh +++ b/extras/check_for_update.zsh @@ -14,7 +14,7 @@ fi # Cancel update if: # - the automatic update is disabled. # - git is unavailable on the system. -if [[ "$DISABLE_DOTFILES_AUTOUPDATE" = true ]] || ! command -v git &>/dev/null; then +if [[ -n $DISABLE_DOTFILES_AUTOUPDATE ]] || ! command -v git &>/dev/null; then return fi