From a816df4f91ca5726ed9c2f8590bfb95087b8d42a Mon Sep 17 00:00:00 2001 From: Gioele Barabucci Date: Wed, 12 Jun 2024 20:38:17 +0200 Subject: d/libpam-modules.preinst: Remove outdated screensaver-related code Version 1.4.0-5 is older than what is currently in old-stable (Debian 11 bullseye, 1.4.0-9+deb11u1), so this code is never going to run in future installations of `libpam-modules`. Closes: #1073129 --- debian/libpam-modules.preinst | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/debian/libpam-modules.preinst b/debian/libpam-modules.preinst index 50505eff..cbe17abe 100644 --- a/debian/libpam-modules.preinst +++ b/debian/libpam-modules.preinst @@ -32,15 +32,4 @@ handle_profiles_with_removed_modules() { fi } - - -if dpkg --compare-versions "$2" lt-nl 1.4.0-5; then - db_version 2.0 - - if pidof xscreensaver xlockmore >/dev/null; then - db_input critical libpam-modules/disable-screensaver || true - db_go || true - fi -fi - #DEBHELPER# -- cgit v1.2.3