fail on error
diff --git a/update.sh b/update.sh
index c60bbe2..ece2732 100644
--- a/update.sh
+++ b/update.sh
@@ -1,4 +1,5 @@
 #!/bin/bash
+set -e
 
 repo="https://f-droid.org/repo/"