From b4dadac33c66989b0201fc89c86d1bfa9754ac7f Mon Sep 17 00:00:00 2001 From: tuxwarrior Date: Wed, 1 May 2024 17:02:23 -0500 Subject: [PATCH] u --- scripts/99_software.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/99_software.sh b/scripts/99_software.sh index e65fad5..432853a 100644 --- a/scripts/99_software.sh +++ b/scripts/99_software.sh @@ -106,7 +106,9 @@ if [ ${operation} == "update" ] ; then if [[ -n "$list_aur" ]] then echo "^^^^^^^^^^^^^^^^^^^^^^^^^ ${list_aur}" - sudo -u ${user} bash -c 'yay -S --needed --noconfirm --timeupdate ${list_aur}' + #sudo -u ${user} bash -c 'yay -S --needed --noconfirm --timeupdate ${list_aur}' + runuser -l ${user} -c 'yay -S --needed --noconfirm --timeupdate ${list_aur}' + #yay -S --needed --noconfirm --timeupdate ${list_aur} sudo -u ${user} bash -c 'echo "--------- __ ----------"' else