u
This commit is contained in:
@@ -105,7 +105,8 @@ if [ ${operation} == "update" ] ; then
|
|||||||
if [[ -n "$list_aur" ]]
|
if [[ -n "$list_aur" ]]
|
||||||
then
|
then
|
||||||
echo "^^^^^^^^^^^^^^^^^^^^^^^^^ ${list_aur}"
|
echo "^^^^^^^^^^^^^^^^^^^^^^^^^ ${list_aur}"
|
||||||
echo ${list_aur} > /tmp/list_aur.txt
|
|
||||||
|
#echo ${list_aur} > /tmp/list_aur.txt
|
||||||
su "yay -S --needed --noconfirm --timeupdate ${list_aur}" ${user}
|
su "yay -S --needed --noconfirm --timeupdate ${list_aur}" ${user}
|
||||||
#sudo -u ${user} bash -c 'yay -S --needed --noconfirm --timeupdate < /tmp/list_aur.txt'
|
#sudo -u ${user} bash -c 'yay -S --needed --noconfirm --timeupdate < /tmp/list_aur.txt'
|
||||||
|
|
||||||
@@ -120,7 +121,7 @@ if [ ${operation} == "update" ] ; then
|
|||||||
|
|
||||||
#yay -S --needed --noconfirm --timeupdate ${list_aur}
|
#yay -S --needed --noconfirm --timeupdate ${list_aur}
|
||||||
#sudo -u ${user} bash -c 'echo "--------- __ ---------- : ${list_aur}"'
|
#sudo -u ${user} bash -c 'echo "--------- __ ---------- : ${list_aur}"'
|
||||||
echo "FO"
|
#echo "FO"
|
||||||
else
|
else
|
||||||
echo "No AUR packages to install"
|
echo "No AUR packages to install"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user