aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGioele Barabucci <gioele@svario.it>2024-06-12 20:38:17 +0200
committerGioele Barabucci <gioele@svario.it>2025-02-13 00:23:34 +0100
commita816df4f91ca5726ed9c2f8590bfb95087b8d42a (patch)
tree1685c1f967f1a496c081076c407875f2184480e1
parent6f7964a3fc0876c2db6637a27a30b76d68260490 (diff)
downloadpam-a816df4f91ca5726ed9c2f8590bfb95087b8d42a.tar.gz
pam-a816df4f91ca5726ed9c2f8590bfb95087b8d42a.tar.bz2
pam-a816df4f91ca5726ed9c2f8590bfb95087b8d42a.zip
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
-rw-r--r--debian/libpam-modules.preinst11
1 files changed, 0 insertions, 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#