From 5d5d1a88a5851679c669162a0b64e29bc56c1d70 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Sun, 30 Jul 2023 14:07:32 -0700 Subject: Drop reference to stale package version in libpam-modules.postinst; thanks, Gioele Barabucci . --- debian/changelog | 7 +++++++ debian/libpam-modules.postinst | 3 +-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'debian') 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 . + + -- Steve Langasek 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 -- cgit v1.2.3