aboutsummaryrefslogtreecommitdiff
path: root/debian/libpam-modules.postinst
diff options
context:
space:
mode:
authorSteve Langasek <steve.langasek@canonical.com>2023-07-30 14:07:32 -0700
committerSteve Langasek <steve.langasek@canonical.com>2023-07-30 14:07:32 -0700
commit5d5d1a88a5851679c669162a0b64e29bc56c1d70 (patch)
tree61a66f8973e94fa44094f82f048bd95da32317de /debian/libpam-modules.postinst
parent20fe7578588f4be62cf22961c01703b62662364a (diff)
downloadpam-5d5d1a88a5851679c669162a0b64e29bc56c1d70.tar.gz
pam-5d5d1a88a5851679c669162a0b64e29bc56c1d70.tar.bz2
pam-5d5d1a88a5851679c669162a0b64e29bc56c1d70.zip
Drop reference to stale package version in libpam-modules.postinst; thanks, Gioele Barabucci <gioele@svario.it>.
Diffstat (limited to 'debian/libpam-modules.postinst')
-rw-r--r--debian/libpam-modules.postinst3
1 files changed, 1 insertions, 2 deletions
diff --git a/debian/libpam-modules.postinst b/debian/libpam-modules.postinst
index 529132da..ed6afbe2 100644
--- a/debian/libpam-modules.postinst
+++ b/debian/libpam-modules.postinst
@@ -3,8 +3,7 @@
# If the user has removed the config file, respect this sign of dementia
# -- only create on package install.
-if [ -z "$2" ] || dpkg --compare-versions "$2" lt 0.99.7.1-3
-then
+if [ -z "$2" ]; then
if ! [ -f "$DPKG_ROOT"/etc/security/opasswd ]; then
umask 066
touch "$DPKG_ROOT"/etc/security/opasswd