Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/debian/libnss-ldapd.postrm
blob: a8a67fbd7fc1e5509f88157258a18ea7b6ce2b11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

set -e

CONFFILE="/etc/nss-ldapd.conf"

# remove our configuration file (not a conffile) on purge manually
if [ "$1" = "purge" ]
then
  rm -f "$CONFFILE"
fi

# call ldconfig to signal the removal of out NSS library
if [ "$1" = "remove" ]
then
  ldconfig
fi

#DEBHELPER#