diff --git a/bin/omarchy-update-aur-pkgs b/bin/omarchy-update-aur-pkgs index 8cdfb617..a860a97d 100755 --- a/bin/omarchy-update-aur-pkgs +++ b/bin/omarchy-update-aur-pkgs @@ -6,7 +6,7 @@ sudo_options=() if [[ ${OMARCHY_SUDO_NO_UPDATE:-0} == "1" ]]; then sudo_wrapper="$OMARCHY_PATH/default/omarchy/sudo-no-update/sudo" [[ -x $sudo_wrapper ]] || exit 1 - sudo_options=(--sudo "$sudo_wrapper" --nosudoloop) + sudo_options=(--sudo "$sudo_wrapper" --sudoloop=false) fi if pacman -Qem >/dev/null; then diff --git a/test/shell.d/fixtures/sudo-boundary-test.sh b/test/shell.d/fixtures/sudo-boundary-test.sh index 6c6bada3..2ed8438b 100644 --- a/test/shell.d/fixtures/sudo-boundary-test.sh +++ b/test/shell.d/fixtures/sudo-boundary-test.sh @@ -103,7 +103,7 @@ case "$step" in pacman) exit 0 ;; yay) [[ $* == *"--sudo $OMARCHY_PATH/default/omarchy/sudo-no-update/sudo"* ]] || exit 92 - [[ $* == *"--nosudoloop"* ]] || exit 93 + [[ $* == *"--sudoloop=false"* ]] || exit 93 ;; esac STUB