From c80c40e57a2044543b7bd5a84faba851190502ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Sat, 11 Oct 2025 01:37:44 +0200 Subject: [PATCH] Make aur update more robust --- update-aur-pkgs.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/update-aur-pkgs.sh b/update-aur-pkgs.sh index d901811..34ee6a7 100755 --- a/update-aur-pkgs.sh +++ b/update-aur-pkgs.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +set -o nounset +set -o errexit + for pkg in pkgbuilds/* ; do if [[ -n "$(builtin cd "${pkg}" && git rev-parse --show-superproject-working-tree)" ]] ; then printf "checking git submodule %s\n" "${pkg}"