File: libpam-runtime.prerm

package info (click to toggle)
pam 1.7.0-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 7,928 kB
  • sloc: ansic: 36,046; xml: 21,666; perl: 972; sh: 834; yacc: 412; lex: 64; makefile: 56; python: 21
file content (20 lines) | stat: -rw-r--r-- 788 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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#