summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2017-09-07 16:19:05 -0300
committerdrebs <drebs@riseup.net>2017-09-07 17:20:15 -0300
commitbcc421453667e57034cda787bcda812d2b31427d (patch)
tree5355b9ab1e72d561142fd588bc153c6a35e236a6
parent87b19ed4b8672a914feaad3f9337208064597d5b (diff)
[pkg] ensure that script's execution is aborted on errors
Avoid the "maintainer-script-ignores-errors postinst" error.
-rw-r--r--pkg/server/soledad-server.postinst2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/server/soledad-server.postinst b/pkg/server/soledad-server.postinst
index 44112fc7..eea93857 100644
--- a/pkg/server/soledad-server.postinst
+++ b/pkg/server/soledad-server.postinst
@@ -1,5 +1,7 @@
#!/bin/sh
+set -e
+
export PATH=/bin:/usr/bin:/sbin:/usr/sbin
# create soledad group