feat(script/rebuild): fix sudo issue after update

This commit is contained in:
Malte Tammena 2024-01-05 18:01:04 +01:00
parent 25f07db51c
commit 329d9d032b

View file

@ -62,6 +62,11 @@ case "$ACTION" in
;;
esac
# Don't need sudo for remote access
if [ -n "$TARGET_HOST" ]; then
SUDO=
fi
ARGS=("$ACTION")
# Only use my cache if the host is close to me