aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/libpam-modules.postinst4
-rw-r--r--debian/libpam-runtime.postinst4
-rw-r--r--debian/libpam-runtime.postrm4
3 files changed, 9 insertions, 3 deletions
diff --git a/debian/libpam-modules.postinst b/debian/libpam-modules.postinst
index ed6afbe2..36cdf2cb 100644
--- a/debian/libpam-modules.postinst
+++ b/debian/libpam-modules.postinst
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
# If the user has removed the config file, respect this sign of dementia
# -- only create on package install.
diff --git a/debian/libpam-runtime.postinst b/debian/libpam-runtime.postinst
index 667b33a6..230774d2 100644
--- a/debian/libpam-runtime.postinst
+++ b/debian/libpam-runtime.postinst
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
. /usr/share/debconf/confmodule
diff --git a/debian/libpam-runtime.postrm b/debian/libpam-runtime.postrm
index bff1f43f..04784c39 100644
--- a/debian/libpam-runtime.postrm
+++ b/debian/libpam-runtime.postrm
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
if [ "$1" = "purge" ]; then
rm -f /etc/pam.d/common-auth /etc/pam.d/common-account \