We have to bail if the package couldn't be installed
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
for pkg in "$@"; do
|
||||
if ! pacman -Q "$pkg" &>/dev/null; then
|
||||
sudo pacman -S --noconfirm "$pkg"
|
||||
sudo pacman -S --noconfirm "$pkg" || exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user