summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-10-23 17:19:18 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-10-23 17:19:18 (GMT)
commit9e8cb5cbe8cfc1a3c96ab1ab6c171060e582067d (patch)
tree5a85f5cb7f75c10103ecd400fab3ad4266702aa8
parent506ab259e8910000e65b7d2bc6f00ee984da404e (diff)
downloadlinhes_pkgbuild-9e8cb5cbe8cfc1a3c96ab1ab6c171060e582067d.zip
linhes_pkgbuild-9e8cb5cbe8cfc1a3c96ab1ab6c171060e582067d.tar.gz
linhes_pkgbuild-9e8cb5cbe8cfc1a3c96ab1ab6c171060e582067d.tar.bz2
update81-82.sh: exit if tdb install fails
-rw-r--r--abs/core/update81-82.sh6
1 files changed, 6 insertions, 0 deletions
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