%PDF- %PDF-
Direktori : /proc/thread-self/root/var/lib/dpkg/info/ |
Current File : //proc/thread-self/root/var/lib/dpkg/info/munin-node.postrm |
#! /bin/sh set -e if [ "$1" = "purge" ]; then # delete dangling symlinks test -d /etc/munin/plugins/ && for plugin in $(find /etc/munin/plugins/ -type l); do if [ ! -e $(readlink $plugin) ]; then rm $plugin fi done rm -f /var/log/munin/munin-node.log* rm -f /var/log/munin/munin-node-configure.log* fi # Automatically added by dh_installinit/13.5.2ubuntu1 if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = "purge" ] ; then update-rc.d munin-node remove >/dev/null fi # End automatically added section # Automatically added by dh_installdeb/13.5.2ubuntu1 dpkg-maintscript-helper rm_conffile /etc/init/munin-node.conf 2.0.49-2\~ -- "$@" # End automatically added section # Automatically added by dh_installsystemd/13.5.2ubuntu1 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.5.2ubuntu1 if [ "$1" = "remove" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper mask 'munin-node.service' >/dev/null || true fi fi if [ "$1" = "purge" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper purge 'munin-node.service' >/dev/null || true deb-systemd-helper unmask 'munin-node.service' >/dev/null || true fi fi # End automatically added section