%PDF- %PDF-
Direktori : /proc/thread-self/root/var/lib/dpkg/info/ |
Current File : //proc/thread-self/root/var/lib/dpkg/info/docker-ce.postrm |
#!/bin/sh set -e # Automatically added by dh_installinit/13.6ubuntu1 if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = "purge" ] ; then update-rc.d docker remove >/dev/null fi # End automatically added section # Automatically added by dh_installdeb/13.6ubuntu1 dpkg-maintscript-helper rm_conffile /etc/init/docker.conf 5:24.0.5-1\~ -- "$@" # End automatically added section # Automatically added by dh_installsystemd/13.6ubuntu1 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.6ubuntu1 if [ "$1" = "remove" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper mask 'docker.service' 'docker.socket' >/dev/null || true fi fi if [ "$1" = "purge" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper purge 'docker.service' 'docker.socket' >/dev/null || true deb-systemd-helper unmask 'docker.service' 'docker.socket' >/dev/null || true fi fi # End automatically added section # Automatically added by dh_apparmor/3.0.4-2ubuntu2.4 if [ "$1" = "purge" ] && ! [ -e "/etc/apparmor.d/docker-ce" ] ; then rm -f "/etc/apparmor.d/disable/docker-ce" || true rm -f "/etc/apparmor.d/force-complain/docker-ce" || true rm -f "/etc/apparmor.d/local/docker-ce" || true rm -f /var/cache/apparmor/*/"docker-ce" || 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