aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/libpam-modules.postinst3
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