From d424525540b63bdee0ace33fc39a8b90c283aaeb Mon Sep 17 00:00:00 2001 From: tuxwarrior Date: Wed, 1 May 2024 16:54:56 -0500 Subject: [PATCH] u --- scripts/99_software.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/99_software.sh b/scripts/99_software.sh index 9a18651..b50094d 100644 --- a/scripts/99_software.sh +++ b/scripts/99_software.sh @@ -105,7 +105,7 @@ if [ ${operation} == "update" ] ; then if [[ -n "$list_aur" ]] then - runuser -l ${user} -c 'yay -S --needed --noconfirm --timeupdate $list_aur' + sudo -u ${user} bash -c 'yay -S --needed --noconfirm --timeupdate ${list_aur}' else echo "No AUR packages to install" fi