mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-12-04 08:41:31 +01:00
extras: fix autoupdater script
This commit is contained in:
parent
3d260ec64d
commit
2a1b2f5da4
|
@ -14,7 +14,7 @@ fi
|
||||||
# Cancel update if:
|
# Cancel update if:
|
||||||
# - the automatic update is disabled.
|
# - the automatic update is disabled.
|
||||||
# - git is unavailable on the system.
|
# - 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
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user