We have to bail if the package couldn't be installed

This commit is contained in:
David Heinemeier Hansson
2025-08-31 15:55:23 +02:00
parent 6d832cba42
commit 4409f4478b

View File

@@ -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