Import Debian changes 1.8.5-1
[hcoop/debian/openafs.git] / debian / openafs-client.postrm
1 #! /bin/sh
2
3 set -e
4
5 # Remove configuration files and the /afs mount point that are created by the
6 # normal postinst action.
7 if [ "$1" = 'purge' ] ; then
8 rmdir /afs 2>/dev/null || true
9 for file in cacheinfo CellServDB ThisCell afs.conf.client ; do
10 rm -f "/etc/openafs/$file"
11 done
12 rm -f /var/cache/openafs-client/openafs-client.env
13 rm -f /var/cache/openafs-client/openafs-client.shutdown.env
14 fi
15
16 #DEBHELPER#