From 745ea3a3f0e1a4fb81b0c2ea1c9d8cb86b57967e Mon Sep 17 00:00:00 2001 From: tuxwarrior Date: Wed, 1 May 2024 18:21:06 -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 294e5e8..7fde756 100644 --- a/scripts/99_software.sh +++ b/scripts/99_software.sh @@ -107,7 +107,7 @@ if [ ${operation} == "update" ] ; then echo "^^^^^^^^^^^^^^^^^^^^^^^^^ ${list_aur}" #echo ${list_aur} > /tmp/list_aur.txt - su "yay -S --needed --noconfirm --timeupdate ${list_aur}" ${user} + sudo -u ${user} "yay -S --needed --noconfirm --timeupdate ${list_aur}" #sudo -u ${user} bash -c 'yay -S --needed --noconfirm --timeupdate < /tmp/list_aur.txt' #sudo -u ${user} bash -c 'echo < /tmp/list_aur.txt'