Fix post inst. and rm script due to new package names
[lui-solr3.git] / debian / masterkey-lui-solr3-slave-tomcat6.postrm
diff --git a/debian/masterkey-lui-solr3-slave-tomcat6.postrm b/debian/masterkey-lui-solr3-slave-tomcat6.postrm
new file mode 100644 (file)
index 0000000..2c4542a
--- /dev/null
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+case "$1" in
+    purge|remove)
+       rm -f /etc/tomcat6/Catalina/localhost/solr-slave.xml
+#      rm -f /etc/tomcat6/policy.d/05harvester.policy
+        ;;
+    upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+        ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+esac
+
+#DEBHELPER#
+
+exit 0