diff --git a/scripts/99_software.sh b/scripts/99_software.sh index f7b0b6e..a68e8ce 100644 --- a/scripts/99_software.sh +++ b/scripts/99_software.sh @@ -107,7 +107,7 @@ if [ ${operation} == "update" ] ; then # using sudo with the -c flag, it does not work to use variables, like `${list_aur}`` # hence the list of aur packages is written to a file, which is used with yay echo ${list_aur} > /tmp/list_aur.txt - sudo -u ${user} bash -c 'yay -S --needed --noconfirm --timeupdate - < /tmp/list_aur.txt' + sudo -u ${user} bash -c 'yay -S --needed --noconfirm --timeupdate - $(