--- /dev/null
+#!/bin/sh
+ln -sf /etc/masterkey/lui/lui-solr-master.xml /etc/tomcat6/Catalina/localhost/solr.xml
+chown -R tomcat6:tomcat6 /var/lib/masterkey/lui/solr/master
--- /dev/null
+#!/bin/sh -e
+
+case "$1" in
+ purge|remove)
+ rm -f /etc/tomcat6/Catalina/localhost/solr.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
--- /dev/null
+#!/bin/sh
+ln -sf /etc/masterkey/lui/lui-solr-slave.xml /etc/tomcat6/Catalina/localhost/solr-slave.xml
+chown -R tomcat6:tomcat6 /var/lib/masterkey/lui/solr/slave
--- /dev/null
+#!/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