extras: fix autoupdater script

pull/7/head
bretello 2024-01-03 15:44:15 +01:00
parent 3d260ec64d
commit 2a1b2f5da4
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
1 changed files with 1 additions and 1 deletions

View File

@ -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