From 5ea47ce9ee44b5cac894c66fb223f02735299d55 Mon Sep 17 00:00:00 2001 From: Gioele Barabucci Date: Thu, 13 Feb 2025 19:22:52 +0100 Subject: d/libpam-modules.postinst: Drop redundant version check The check against version 0.99.9.0-1 has been redundant since Debian 5 "lenny". --- debian/libpam-modules.postinst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/debian/libpam-modules.postinst b/debian/libpam-modules.postinst index 36cdf2cb..5242ba23 100644 --- a/debian/libpam-modules.postinst +++ b/debian/libpam-modules.postinst @@ -13,8 +13,7 @@ if [ -z "$2" ]; then fi fi -if dpkg --compare-versions "$2" lt 0.99.9.0-1 && ! [ -f "$DPKG_ROOT"/etc/environment ] -then +if [ -z "$2" ] && [ ! -f "$DPKG_ROOT"/etc/environment ]; then touch "$DPKG_ROOT"/etc/environment fi -- cgit v1.2.3