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