#!/bin/sh
set -e
# Automatically added by dh_installdeb/13.24.2
dpkg-maintscript-helper rm_conffile /etc/apparmor.d/abstractions/xchat-based -- "$@"
dpkg-maintscript-helper rm_conffile /etc/apparmor.d/usr.bin.xchat -- "$@"
# End automatically added section
# Automatically added by dh_apparmor/4.1.0-1
if [ "$1" = "purge" ] && ! [ -e "/etc/apparmor.d/usr.bin.hexchat" ] ; then
    rm -f "/etc/apparmor.d/disable/usr.bin.hexchat" || true
    rm -f "/etc/apparmor.d/force-complain/usr.bin.hexchat" || true
    rm -f "/etc/apparmor.d/local/usr.bin.hexchat" || true
    rm -f /var/cache/apparmor/*/"usr.bin.hexchat" || true
    rmdir /etc/apparmor.d/disable 2>/dev/null || true
    rmdir /etc/apparmor.d/local   2>/dev/null || true
    rmdir /etc/apparmor.d         2>/dev/null || true
fi
# End automatically added section
