Remove empty maintainer scripts: libpam-runtime (prerm)
Changes-By: lintian-brush
Fixes: lintian: maintainer-script-empty
See-also: https://lintian.debian.org/tags/maintainer-script-empty.html
Debian Janitor
2 years ago
7 | 7 |
./configure), Repository, Repository-Browse.
|
8 | 8 |
* Drop unnecessary dependency on dh-autoreconf.
|
9 | 9 |
* Update standards version to 4.6.0, no changes needed.
|
|
10 |
* Remove empty maintainer scripts: libpam-runtime (prerm)
|
10 | 11 |
|
11 | 12 |
-- Debian Janitor <janitor@jelmer.uk> Fri, 07 Jan 2022 21:18:13 -0000
|
12 | 13 |
|
0 | |
#!/bin/sh
|
1 | |
|
2 | |
set -e
|
3 | |
# Packages including pam configurations need to include a block like
|
4 | |
# the following to arrange for removal of the PAM profile prior to
|
5 | |
# package removale. Libpam-runtime is special because it includes the
|
6 | |
# machinery for managing the profiles and because there is a check to
|
7 | |
# make sure at least one profile is enabled. Libpam-runtime can only
|
8 | |
# be removed in a situation where dpkg checks are being overriden; in
|
9 | |
# that case the resulting PAM config is likely to be broken anyway.
|
10 | |
# But we prefer to permit the removal if enough dpkg force options are
|
11 | |
# given than to create an infinite loop. So, this block is commented
|
12 | |
# out, left here as an example for other packages.
|
13 | |
|
14 | |
|
15 | |
# if [ "$1" = remove ] ; then
|
16 | |
# pam-auth-update --package --remove unix
|
17 | |
# fi
|
18 | |
|
19 | |
#DEBHELPER#
|