Skip to content

Commit 7881e11

Browse files
committed
[update] : Install packages one by one
1 parent 3ed5051 commit 7881e11

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

system/aur.sh

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -62,22 +62,24 @@ ls "/usr/share/pacman/keyrings/"*".gpg" | sed "s|.gpg||g" | xargs | pacman-key -
6262

6363
# Build and install
6464
chmod +s /usr/bin/sudo
65-
yes | sudo -u aurbuild \
66-
yay -Sy \
67-
--mflags "-AcC" \
68-
--aur \
69-
--noconfirm \
70-
--nocleanmenu \
71-
--nodiffmenu \
72-
--noeditmenu \
73-
--noupgrademenu \
74-
--noprovides \
75-
--removemake \
76-
--useask \
77-
--color always \
78-
--config "/etc/alteriso-pacman.conf" \
79-
--cachedir "/var/cache/pacman/pkg/" \
80-
${*}
65+
for _pkg in "${@}"
66+
yes | sudo -u aurbuild \
67+
yay -Sy \
68+
--mflags "-AcC" \
69+
--aur \
70+
--noconfirm \
71+
--nocleanmenu \
72+
--nodiffmenu \
73+
--noeditmenu \
74+
--noupgrademenu \
75+
--noprovides \
76+
--removemake \
77+
--useask \
78+
--color always \
79+
--config "/etc/alteriso-pacman.conf" \
80+
--cachedir "/var/cache/pacman/pkg/" \
81+
"${_pkg}"
82+
done
8183

8284
yay -Sccc --noconfirm --config "/etc/alteriso-pacman.conf"
8385

0 commit comments

Comments
 (0)