aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGioele Barabucci <gioele@svario.it>2025-02-13 20:05:18 +0100
committerGioele Barabucci <gioele@svario.it>2025-02-14 08:15:01 +0100
commitcb448e6474f53e4e40bfb594597156dc6256605c (patch)
treed27e35d3fdba2800881516d37db273862322f4d0
parent5ea47ce9ee44b5cac894c66fb223f02735299d55 (diff)
downloadpam-cb448e6474f53e4e40bfb594597156dc6256605c.tar.gz
pam-cb448e6474f53e4e40bfb594597156dc6256605c.tar.bz2
pam-cb448e6474f53e4e40bfb594597156dc6256605c.zip
d/libpam-runtime.postinst: Drop redundant version check
The check against version 1.0.1-11 has been redundant since Debian 5 "lenny".
-rw-r--r--debian/libpam-runtime.postinst3
1 files changed, 1 insertions, 2 deletions
diff --git a/debian/libpam-runtime.postinst b/debian/libpam-runtime.postinst
index 230774d2..3c54bc61 100644
--- a/debian/libpam-runtime.postinst
+++ b/debian/libpam-runtime.postinst
@@ -16,8 +16,7 @@ calculate_md5sum()
# If the user has removed the config file, respect this sign of dementia
# -- only create on package install.
force=
-if [ -z "$2" ] || dpkg --compare-versions "$2" lt 1.0.1-11
-then
+if [ -z "$2" ]; then
force=--force
for configfile in common-auth common-account common-session \
common-password