We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7881e11 commit cc8de38Copy full SHA for cc8de38
system/aur.sh
@@ -62,7 +62,7 @@ ls "/usr/share/pacman/keyrings/"*".gpg" | sed "s|.gpg||g" | xargs | pacman-key -
62
63
# Build and install
64
chmod +s /usr/bin/sudo
65
-for _pkg in "${@}"
+for _pkg in "pamac-aur" "${@}"; do
66
yes | sudo -u aurbuild \
67
yay -Sy \
68
--mflags "-AcC" \
@@ -79,6 +79,11 @@ for _pkg in "${@}"
79
--config "/etc/alteriso-pacman.conf" \
80
--cachedir "/var/cache/pacman/pkg/" \
81
"${_pkg}"
82
+
83
+ if ! pacman -Qq "${_pkg}" > /dev/null 2>&1; then
84
+ echo -e "\n[aur.sh] Failed to install ${_pkg}\n"
85
+ exit 1
86
+ fi
87
done
88
89
yay -Sccc --noconfirm --config "/etc/alteriso-pacman.conf"
0 commit comments