5
if dpkg-statoverride --list /usr/share/puppet/rack/puppetmasterd/config.ru >/dev/null 2>&1
7
dpkg-statoverride --remove /usr/share/puppet/rack/puppetmasterd/config.ru
9
# Remove the puppetmaster site configuration on purge
10
rm -f /etc/apache2/sites-available/puppetmaster
13
# Disable the puppetmaster apache2 site configuration on package removal
14
a2dissite puppetmaster
15
if [ -x "/etc/init.d/apache2" ]; then
16
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
17
invoke-rc.d apache2 force-reload || exit $?
19
/etc/init.d/apache2 force-reload || exit $?
23
upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
26
echo "postrm called with unknown argument \`$1'" >&2