From dcd7a5748ef6820e3e0d386139d9dd946f0d71fa Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 14:01:37 +0200 Subject: Adding debian version 1.4.0-9+deb11u1. Signed-off-by: Daniel Baumann --- debian/libpam-runtime.prerm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 debian/libpam-runtime.prerm (limited to 'debian/libpam-runtime.prerm') diff --git a/debian/libpam-runtime.prerm b/debian/libpam-runtime.prerm new file mode 100644 index 0000000..2690cc0 --- /dev/null +++ b/debian/libpam-runtime.prerm @@ -0,0 +1,20 @@ +#!/bin/sh + +set -e +# Packages including pam configurations need to include a block like +# the following to arrange for removal of the PAM profile prior to +# package removale. Libpam-runtime is special because it includes the +# machinery for managing the profiles and because there is a check to +# make sure at least one profile is enabled. Libpam-runtime can only +# be removed in a situation where dpkg checks are being overriden; in +# that case the resulting PAM config is likely to be broken anyway. +# But we prefer to permit the removal if enough dpkg force options are +# given than to create an infinite loop. So, this block is commented +# out, left here as an example for other packages. + + +# if [ "$1" = remove ] ; then +# pam-auth-update --package --remove unix +# fi + +#DEBHELPER# -- cgit v1.2.3