summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzimbatm2019-05-06 11:28:22 +0200
committerzimbatm2019-05-06 11:28:24 +0200
commit4c8a1a44b7154cad0ba87611aee5f93c4149e16f (patch)
tree1cb061cdea902922f703e92305fdc4a4d3450284
parentece50226dc5efd5a2aa6b70b82a86c165204d2ea (diff)
downloadaur-4c8a1a44b7154cad0ba87611aee5f93c4149e16f.tar.gz
forward failures in the ./update script
if `updpkgsums` fails it should exit the main script with an error
-rwxr-xr-xupdate2
1 files changed, 2 insertions, 0 deletions
diff --git a/update b/update
index c6c2199482d..15f5b3ee32b 100755
--- a/update
+++ b/update
@@ -2,7 +2,9 @@
#
# Script with necessary update steps, regardless of system.
#
+set -e
updpkgsums
+
echo 'Updating AUR package metadata...'
makepkg --printsrcinfo > .SRCINFO