%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/lib/dpkg/info/
Upload File :
Create Path :
Current File : /var/lib/dpkg/info/cups-browsed.postrm

#! /bin/sh

set -e

# Automatically added by dh_installdeb/13.14.1ubuntu5
dpkg-maintscript-helper rm_conffile /etc/init.d/cups-browsed 2.0\~b2-0ubuntu2\~ -- "$@"
# End automatically added section
# Automatically added by dh_installsystemd/13.14.1ubuntu5
if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
	systemctl --system daemon-reload >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_installsystemd/13.14.1ubuntu5
if [ "$1" = "purge" ]; then
	if [ -x "/usr/bin/deb-systemd-helper" ]; then
		deb-systemd-helper purge 'cups-browsed.service' >/dev/null || true
	fi
fi
# End automatically added section
# Automatically added by dh_apparmor/4.0.0-beta3-0ubuntu3
if [ "$1" = "purge" ] && ! [ -e "/etc/apparmor.d/usr.sbin.cups-browsed" ] ; then
    rm -f "/etc/apparmor.d/disable/usr.sbin.cups-browsed" || true
    rm -f "/etc/apparmor.d/force-complain/usr.sbin.cups-browsed" || true
    rm -f "/etc/apparmor.d/local/usr.sbin.cups-browsed" || true
    rm -f /var/cache/apparmor/*/"usr.sbin.cups-browsed" || 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


case "$1" in
    purge)
	rm -rf /var/cache/cups-browsed
	rm -rf /var/log/cups-browsed
	rm -f /etc/cups/cups-browsed.conf
	rmdir /etc/cups 2>/dev/null || true
	userdel cups-browsed
	;;
    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
        ;;

    *)
        echo "postrm called with unknown argument \`$1'" >&2
        exit 0

esac

Zerion Mini Shell 1.0