summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/vyatta-cfg.postinst.in2
-rw-r--r--debian/vyatta-cfg.postrm.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/debian/vyatta-cfg.postinst.in b/debian/vyatta-cfg.postinst.in
index bb747d4..f4bc76e 100644
--- a/debian/vyatta-cfg.postinst.in
+++ b/debian/vyatta-cfg.postinst.in
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
prefix=@prefix@
exec_prefix=@exec_prefix@
diff --git a/debian/vyatta-cfg.postrm.in b/debian/vyatta-cfg.postrm.in
index c211589..2c33121 100644
--- a/debian/vyatta-cfg.postrm.in
+++ b/debian/vyatta-cfg.postrm.in
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
if [ "$1" = "purge" ]; then
update-rc.d vyatta-router remove >/dev/null || exit $?