From b2a5277960311372505be2e491bc9c52fa37d1ed Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 1 Jul 2024 10:05:23 +0200 Subject: liste-verfuegbare-Versionen: abort if pacman -Syu fails --- bumpVersion | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bumpVersion') 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 -- cgit v1.2.3-70-g09d2