diff options
author | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2024-07-01 10:05:23 +0200 |
---|---|---|
committer | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2024-07-01 10:05:52 +0200 |
commit | b2a5277960311372505be2e491bc9c52fa37d1ed (patch) | |
tree | 72ad5bebf3c815d3f2e0573b712383a92f655347 | |
parent | 7c3fba3cc9a7c4f19864006003c10c7132c39760 (diff) | |
download | archlinuxewe-b2a5277960311372505be2e491bc9c52fa37d1ed.tar.xz |
liste-verfuegbare-Versionen: abort if pacman -Syu fails
-rwxr-xr-x | bumpPerl | 2 | ||||
-rwxr-xr-x | bumpPkgrel | 2 | ||||
-rwxr-xr-x | bumpVersion | 6 | ||||
-rwxr-xr-x | checkPinnedDependencies | 2 | ||||
-rwxr-xr-x | liste-verfuegbare-Versionen | 2 | ||||
m--------- | nagircbot | 0 |
6 files changed, 7 insertions, 7 deletions
@@ -17,7 +17,7 @@ perlMajor="${perlMinor%%.*}" perlMinor="${perlMinor#${perlMajor}.}" perlMinor="${perlMinor%%.*}" -provided=$('./liste-verfuegbare-Versionen') +provided=$('./liste-verfuegbare-Versionen') || exit $? trap 'rm -f "${provided}"' EXIT for pkgbuild in perl-*/PKGBUILD demeter/PKGBUILD spamassassin-courier/PKGBUILD; do diff --git a/bumpPkgrel b/bumpPkgrel index 741eb46e7..731c47c1a 100755 --- a/bumpPkgrel +++ b/bumpPkgrel @@ -49,7 +49,7 @@ if [ $# -eq 0 ] && ! ${auto_detect}; then fi if [ -z "${provided}" ]; then - provided=$("${0%/*}/liste-verfuegbare-Versionen") + provided=$("${0%/*}/liste-verfuegbare-Versionen") || exit $? trap 'rm -f "${provided}"' EXIT fi 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 diff --git a/checkPinnedDependencies b/checkPinnedDependencies index 07fe7cea1..ecf945822 100755 --- a/checkPinnedDependencies +++ b/checkPinnedDependencies @@ -20,7 +20,7 @@ while [ $# -gt 0 ]; do done if [ -z "${provided}" ]; then - provided=$("./liste-verfuegbare-Versionen") + provided=$("./liste-verfuegbare-Versionen") || exit $? trap 'rm -f "${provided}"' EXIT fi diff --git a/liste-verfuegbare-Versionen b/liste-verfuegbare-Versionen index 497e19360..77374f1ba 100755 --- a/liste-verfuegbare-Versionen +++ b/liste-verfuegbare-Versionen @@ -8,7 +8,7 @@ sources=( /mnt/archlinux ) -sudo pacman -Sy +sudo pacman -Sy || exit $? for i in "${!sources[@]}"; do find "${sources["${i}"]}" -name '*.db' \ diff --git a/nagircbot b/nagircbot -Subproject 6cd6721e06e6bba7eac6717312fd3ced261ef90 +Subproject 4a605677044680af296065d3ff7af410eacd956 |