X-Git-Url: https://git.hcoop.net/hcoop/debian/openafs.git/blobdiff_plain/805e021f69f66af52e8de6f9e3614206f025d6a8..b7cfede04a4b54709c461d9bfd696eaee5964310:/debian/openafs-client.postrm?ds=inline diff --git a/debian/openafs-client.postrm b/debian/openafs-client.postrm new file mode 100755 index 0000000..cc9e64f --- /dev/null +++ b/debian/openafs-client.postrm @@ -0,0 +1,16 @@ +#! /bin/sh + +set -e + +# Remove configuration files and the /afs mount point that are created by the +# normal postinst action. +if [ "$1" = 'purge' ] ; then + rmdir /afs 2>/dev/null || true + for file in cacheinfo CellServDB ThisCell afs.conf.client ; do + rm -f "/etc/openafs/$file" + done + rm -f /var/cache/openafs-client/openafs-client.env + rm -f /var/cache/openafs-client/openafs-client.shutdown.env +fi + +#DEBHELPER#