diff options
author | Gioele Barabucci <gioele@svario.it> | 2025-02-13 19:22:52 +0100 |
---|---|---|
committer | Gioele Barabucci <gioele@svario.it> | 2025-02-14 08:15:01 +0100 |
commit | 5ea47ce9ee44b5cac894c66fb223f02735299d55 (patch) | |
tree | e485688be65aea6e0c48924dc9e1e56461d4119a | |
parent | a2d9adc8e86c8457b482ecb44b11058e5003f447 (diff) | |
download | pam-5ea47ce9ee44b5cac894c66fb223f02735299d55.tar.gz pam-5ea47ce9ee44b5cac894c66fb223f02735299d55.tar.bz2 pam-5ea47ce9ee44b5cac894c66fb223f02735299d55.zip |
d/libpam-modules.postinst: Drop redundant version check
The check against version 0.99.9.0-1 has been redundant since Debian 5
"lenny".
-rw-r--r-- | debian/libpam-modules.postinst | 3 |
1 files changed, 1 insertions, 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 |