summaryrefslogtreecommitdiff
path: root/debian
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
parent20fe7578588f4be62cf22961c01703b62662364a (diff)
Drop reference to stale package version in libpam-modules.postinst; thanks, Gioele Barabucci <gioele@svario.it>.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog7
-rw-r--r--debian/libpam-modules.postinst3
2 files changed, 8 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 83794f03..c9e2809a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+pam (1.5.2-7) UNRELEASED; urgency=medium
+
+ * Drop reference to stale package version in libpam-modules.postinst;
+ thanks, Gioele Barabucci <gioele@svario.it>.
+
+ -- Steve Langasek <vorlon@debian.org> Sun, 30 Jul 2023 14:04:48 -0700
+
pam (1.5.2-6) unstable; urgency=medium
* Update debian/copyright, Thanks Bastian Germann, Closes: #460232
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