summaryrefslogtreecommitdiff
path: root/debian/libpam-runtime.postinst
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2010-09-05 23:55:42 -0700
committerSteve Langasek <vorlon@debian.org>2019-01-08 21:48:27 -0800
commit9c51a77adf2f054fd8a60d7b363a485ff8f3b142 (patch)
tree0d62d80c7ad43a49582ab3cb5c19d275d3d9d47e /debian/libpam-runtime.postinst
parent11bc1acede77e0096af0255c2aa2c9ba35256de1 (diff)
debian/libpam-runtime.{postinst,templates}: since 1.1.2-1 is targeted
for post-squeeze, we don't need to support upgrades from 1.0.1-6 to 1.0.1-10 anymore. Drop the debconf error note about having configured your system with a lack of authentication, so that translators don't spend any more time on it.
Diffstat (limited to 'debian/libpam-runtime.postinst')
-rw-r--r--debian/libpam-runtime.postinst16
1 files changed, 0 insertions, 16 deletions
diff --git a/debian/libpam-runtime.postinst b/debian/libpam-runtime.postinst
index 178d0e23..518e8d24 100644
--- a/debian/libpam-runtime.postinst
+++ b/debian/libpam-runtime.postinst
@@ -2,17 +2,6 @@
. /usr/share/debconf/confmodule
-# pam-auth-update is introduced in 1.0.1-6
-# Between 1.0.1-6 and 1.0.1-10 it is possible to get empty profiles
-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
- UHOH=1
- fi
- fi
-fi
-
calculate_md5sum()
{
configfile="$1"
@@ -53,9 +42,4 @@ then
cp -a /etc/pam.d/common-session /etc/pam.d/common-session-noninteractive
fi
-if [ -n "$UHOH" ]; then
- db_input critical libpam-runtime/you-had-no-auth || true
- db_go
-fi
-
#DEBHELPER#