1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-12-03 16:21:32 +01:00

extras: fix autoupdater script

This commit is contained in:
bretello 2024-01-03 15:44:15 +01:00
parent 3d260ec64d
commit 2a1b2f5da4
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

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