summaryrefslogtreecommitdiff
path: root/liste-verfuegbare-Versionen
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 /liste-verfuegbare-Versionen
parent7c3fba3cc9a7c4f19864006003c10c7132c39760 (diff)
downloadarchlinuxewe-b2a5277960311372505be2e491bc9c52fa37d1ed.tar.xz
liste-verfuegbare-Versionen: abort if pacman -Syu fails
Diffstat (limited to 'liste-verfuegbare-Versionen')
-rwxr-xr-xliste-verfuegbare-Versionen2
1 files changed, 1 insertions, 1 deletions
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' \