infra-openafs-deb/debian/openafs-client.postrm
Ian Wienand b08d522be7 Build jammy packages
This is an import of the infrastructure to make Jammy packages

Depends-On: https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/840788
Change-Id: Ie66d3b1e39ef9fa714b1dabdb7eb61cc43538587
2022-05-06 12:53:24 +10:00

17 lines
434 B
Bash
Executable File

#! /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#