feat(script/rebuild): fix sudo issue after update
This commit is contained in:
parent
25f07db51c
commit
329d9d032b
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue