/ wip
This commit is contained in:
@@ -195,7 +195,8 @@ if [ ${operation} == "install" ] ; then
|
||||
|
||||
if [[ "$parameter" =~ ^aur:* ]]; then
|
||||
echo "Install AUR package '${parameter}'"
|
||||
sudo -u ${user} bash -c 'yay -S --needed --noconfirm --timeupdate ${parameter}'
|
||||
echo ${list_aur} > /tmp/list_aur.txt
|
||||
sudo -u ${user} bash -c 'yay -S --needed --noconfirm --timeupdate $(</tmp/list_aur.txt)'
|
||||
else
|
||||
echo "Install Arch package '${parameter}'"
|
||||
pacman -S ${parameter}
|
||||
|
||||
Reference in New Issue
Block a user