From 9e8cb5cbe8cfc1a3c96ab1ab6c171060e582067d Mon Sep 17 00:00:00 2001 From: Britney Fransen <brfransen@gmail.com> Date: Thu, 23 Oct 2014 17:19:18 +0000 Subject: update81-82.sh: exit if tdb install fails --- abs/core/update81-82.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/abs/core/update81-82.sh b/abs/core/update81-82.sh index b8a61b4..872b462 100644 --- a/abs/core/update81-82.sh +++ b/abs/core/update81-82.sh @@ -56,6 +56,12 @@ fi echo "Installing tdb..." pacman -S --noconfirm tdb +rc=$? +if [ $rc != 0 ] +then + echo "FAILED: pacman -S tdb" + exit 2 +fi echo "Removing miscellanous files not in packages..." rm -f /usr/lib/libtalloc.so.1 -- cgit v0.12