diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 12:01:37 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 12:01:37 +0000 |
commit | dcd7a5748ef6820e3e0d386139d9dd946f0d71fa (patch) | |
tree | 66900ada5e764c3422a91836695cdef113bbb883 /debian/libpam-runtime.prerm | |
parent | Adding upstream version 1.4.0. (diff) | |
download | pam-c6c5851461ccc905a70761e687dc6f271bf2069a.tar.xz pam-c6c5851461ccc905a70761e687dc6f271bf2069a.zip |
Adding debian version 1.4.0-9+deb11u1.debian/1.4.0-9+deb11u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/libpam-runtime.prerm')
-rw-r--r-- | debian/libpam-runtime.prerm | 20 |
1 files changed, 20 insertions, 0 deletions
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# |