Merge 1.8.0~pre4 packaging into master
[pkg-k5-afs_openafs.git] / debian / openafs-client.postrm
blobcc9e64faede9c712d2c61ae079885eb6e8c0a9de
1 #! /bin/sh
3 set -e
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
16 #DEBHELPER#