File: //proc/thread-self/root/var/lib/dpkg/info/fcgiwrap.postrm
#!/bin/sh
set -e
# Automatically added by dh_installinit/11.5.3ubuntu1
if [ "$1" = "purge" ] ; then
update-rc.d fcgiwrap remove >/dev/null
fi
# End automatically added section
# Automatically added by dh_installsystemd/11.5.3ubuntu1
if [ "$1" = "remove" ]; then
if [ -x "/usr/bin/deb-systemd-helper" ]; then
deb-systemd-helper mask 'fcgiwrap.service' 'fcgiwrap.socket' >/dev/null || true
fi
fi
if [ "$1" = "purge" ]; then
if [ -x "/usr/bin/deb-systemd-helper" ]; then
deb-systemd-helper purge 'fcgiwrap.service' 'fcgiwrap.socket' >/dev/null || true
deb-systemd-helper unmask 'fcgiwrap.service' 'fcgiwrap.socket' >/dev/null || true
fi
fi
# End automatically added section