summaryrefslogtreecommitdiff
path: root/debian/libpam-runtime.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/libpam-runtime.postinst')
-rw-r--r--debian/libpam-runtime.postinst8
1 files changed, 6 insertions, 2 deletions
diff --git a/debian/libpam-runtime.postinst b/debian/libpam-runtime.postinst
index 76a3fc21..ebdccc9e 100644
--- a/debian/libpam-runtime.postinst
+++ b/debian/libpam-runtime.postinst
@@ -8,8 +8,7 @@ if [ "x$2" != "x" ] ;then
if dpkg --compare-versions $2 lt 1.0.1-10 && dpkg --compare-versions $2 ge 1.0.1-6 ; then
db_get libpam-runtime/profiles
if [ "x$ret" = "x" ] ; then
- db_input critical libpam-runtime/you-had-no-auth ||true
- db_go
+ UHOH=1
fi
fi
fi
@@ -41,4 +40,9 @@ if [ -n "$force" ]; then
/etc/pam.d/common-session.pam-old
fi
+if [ -n "$UHOH" ]; then
+ db_input critical libpam-runtime/you-had-no-auth || true
+ db_go
+fi
+
#DEBHELPER#