#!/bin/sh
set -e
# Automatically added by dh_installsystemd/13.11.4
if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
	systemctl --system daemon-reload >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_apparmor/3.0.8-3
if [ "$1" = "purge" ] && ! [ -e "/etc/apparmor.d/pve-container-mounthotplug" ] ; then
    rm -f "/etc/apparmor.d/disable/pve-container-mounthotplug" || true
    rm -f "/etc/apparmor.d/force-complain/pve-container-mounthotplug" || true
    rm -f "/etc/apparmor.d/local/pve-container-mounthotplug" || true
    rm -f /var/cache/apparmor/*/"pve-container-mounthotplug" || 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
