%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/lib/dpkg/info/
Upload File :
Create Path :
Current File : /var/lib/dpkg/info/geoclue-2.0.postrm

#!/bin/sh
# postrm script for geoclue-2.0
#
# see: dh_installdeb(1)

set -e


case "$1" in
    purge)
        if dpkg-statoverride --list /var/lib/geoclue >/dev/null 2>&1
        then
            dpkg-statoverride --remove /var/lib/geoclue
        fi
    ;;

    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
    ;;

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

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

# Automatically added by dh_installdeb/13.14.1ubuntu5
dpkg-maintscript-helper rm_conffile /etc/dbus-1/system.d/org.freedesktop.GeoClue2.Agent.conf 2.7.0-3\~ -- "$@"
dpkg-maintscript-helper rm_conffile /etc/dbus-1/system.d/org.freedesktop.GeoClue2.conf 2.7.0-3\~ -- "$@"
dpkg-maintscript-helper rm_conffile /etc/apparmor.d/usr.libexec.geoclue -- "$@"
# 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_apparmor/4.0.0-beta3-0ubuntu3
if [ "$1" = "purge" ] && ! [ -e "/etc/apparmor.d/usr.libexec.geoclue" ] ; then
    rm -f "/etc/apparmor.d/disable/usr.libexec.geoclue" || true
    rm -f "/etc/apparmor.d/force-complain/usr.libexec.geoclue" || true
    rm -f "/etc/apparmor.d/local/usr.libexec.geoclue" || true
    rm -f /var/cache/apparmor/*/"usr.libexec.geoclue" || 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


exit 0

Zerion Mini Shell 1.0