]> code.citadel.org Git - citadel.git/blobdiff - citadel/debian/citadel-server.postrm.debhelper
* migrated debian install to system V init
[citadel.git] / citadel / debian / citadel-server.postrm.debhelper
index bc035b98cdb5d458ae83547feb4c99b9fb7ac772..9860b4355fb482f2267034abfb5e49260d4dfb05 100644 (file)
@@ -4,3 +4,8 @@ if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
        db_purge
 fi
 # End automatically added section
+# Automatically added by dh_installinit
+if [ "$1" = "purge" ] ; then
+       update-rc.d citadel remove >/dev/null || exit $?
+fi
+# End automatically added section