From c63f2c38b94131f4a374fadf7c51020482bf044a Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Sun, 27 Feb 2022 20:40:42 -0300 Subject: [PATCH] Exit when cmd fails --- pkgbuild.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgbuild.sh b/pkgbuild.sh index 95ea256..40fd162 100755 --- a/pkgbuild.sh +++ b/pkgbuild.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +set -euo pipefail + pacman -Syu --noconfirm --needed base-devel useradd calbuilder -m