From 7938786107cd630016ad2bc2209faddd2d79846e Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Thu, 31 Jan 2013 13:27:17 +0100 Subject: [PATCH] Add removal of linked files --- debian/masterkey-lui-solr-master-tomcat6.postrm | 18 ++++++++++++++++++ debian/masterkey-lui-solr-slave-tomcat6.postrm | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 debian/masterkey-lui-solr-master-tomcat6.postrm create mode 100644 debian/masterkey-lui-solr-slave-tomcat6.postrm diff --git a/debian/masterkey-lui-solr-master-tomcat6.postrm b/debian/masterkey-lui-solr-master-tomcat6.postrm new file mode 100644 index 0000000..8b3502e --- /dev/null +++ b/debian/masterkey-lui-solr-master-tomcat6.postrm @@ -0,0 +1,18 @@ +#!/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 diff --git a/debian/masterkey-lui-solr-slave-tomcat6.postrm b/debian/masterkey-lui-solr-slave-tomcat6.postrm new file mode 100644 index 0000000..2c4542a --- /dev/null +++ b/debian/masterkey-lui-solr-slave-tomcat6.postrm @@ -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 -- 1.7.10.4