mirror of https://git.decapod.one/brethil/dotfiles
extras: fix autoupdater script
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