From 2a1b2f5da4828276c5f8308c55972a45edbfb379 Mon Sep 17 00:00:00 2001 From: bretello Date: Wed, 3 Jan 2024 15:44:15 +0100 Subject: [PATCH] extras: fix autoupdater script --- extras/check_for_update.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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