summaryrefslogtreecommitdiff
path: root/bumpVersion
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2024-07-01 10:05:23 +0200
committerErich Eckner <erich.eckner.ext@bestsecret.com>2024-07-01 10:05:52 +0200
commitb2a5277960311372505be2e491bc9c52fa37d1ed (patch)
tree72ad5bebf3c815d3f2e0573b712383a92f655347 /bumpVersion
parent7c3fba3cc9a7c4f19864006003c10c7132c39760 (diff)
downloadarchlinuxewe-b2a5277960311372505be2e491bc9c52fa37d1ed.tar.xz
liste-verfuegbare-Versionen: abort if pacman -Syu fails
Diffstat (limited to 'bumpVersion')
-rwxr-xr-xbumpVersion6
1 files changed, 3 insertions, 3 deletions
diff --git a/bumpVersion b/bumpVersion
index 68ba11dcf..3a888e0f6 100755
--- a/bumpVersion
+++ b/bumpVersion
@@ -70,7 +70,7 @@ if [ $# -eq 0 ]; then
)"
[ -z "${pkgs}" ] && exit 0
if [ -z "${provided}" ]; then
- provided=$("${myDir}/liste-verfuegbare-Versionen")
+ provided=$("${myDir}/liste-verfuegbare-Versionen") || exit $?
trap 'rm -f "${provided}"' EXIT
fi
"${me}" -p "${provided}" ${pkgs}
@@ -78,7 +78,7 @@ if [ $# -eq 0 ]; then
elif [ $# -gt 1 ]; then
[ -n "${nichtPakete}" ] && verwendung
if [ -z "${provided}" ]; then
- provided=$("${myDir}/liste-verfuegbare-Versionen")
+ provided=$("${myDir}/liste-verfuegbare-Versionen") || exit $?
trap 'rm -f "${provided}"' EXIT
fi
err=0
@@ -92,7 +92,7 @@ fi
[ -n "${nichtPakete}" ] && verwendung
if [ -z "${provided}" ]; then
- provided=$("${myDir}/liste-verfuegbare-Versionen")
+ provided=$("${myDir}/liste-verfuegbare-Versionen") || exit $?
trap 'rm -f "${provided}"' EXIT
fi