File: libpam-ldapd.prerm

package info (click to toggle)
nss-pam-ldapd 0.9.13-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,896 kB
  • sloc: ansic: 16,478; sh: 6,974; python: 3,675; xml: 1,995; makefile: 309; exp: 146
file content (14 lines) | stat: -rw-r--r-- 284 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

# remove the PAM profile unless there are more than one instances
# of libpam-ldapd installed (multi-arch)
if [ "$1" = "remove" ] && [ "$(dpkg-query -W libpam-ldapd 2> /dev/null | wc -l)" = 1 ]
then
  pam-auth-update --package --remove ldap
fi

#DEBHELPER#

exit 0