deb-heat/debian/heat-api.postrm

15 lines
274 B
Bash

#!/bin/sh
set -e
if [ "${1}" = "purge" ] ; then
rm -f /etc/heat/heat-api.conf
[ -d /etc/heat ] && rmdir --ignore-fail-on-non-empty /etc/heat
rm -rf /var/log/heat/heat-api.*
[ -d /var/log/heat ] && rmdir --ignore-fail-on-non-empty /var/log/heat
fi
#DEBHELPER#
exit 0