From 96f72f64557e3f4c0a557b80ac12efc94ee8a235 Mon Sep 17 00:00:00 2001 From: Wayne Schneider Date: Thu, 14 Jul 2016 15:22:09 -0500 Subject: [PATCH] Update Debian postinst to remove extra files created by Solr installation. --- debian/postinst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/postinst b/debian/postinst index 2f5f856..c16cda6 100755 --- a/debian/postinst +++ b/debian/postinst @@ -10,6 +10,10 @@ case "$1" in chown -R lui-solr /etc/masterkey/lui/solr-home # Run Solr installation script /usr/share/masterkey/lui/dist/install_solr_service.sh /usr/share/masterkey/lui/dist/solr-5.5.1.tgz -d /var/lib/masterkey/lui -i /usr/share/masterkey/lui -s lui-solr -u lui-solr -f + # Remove extra files created by Solr installation + rm -f /usr/lib/masterkey/lui/log4j.properties + rm -rf /usr/lib/masterkey/lui/logs + rm -f /usr/lib/masterkey/lui/data/solr.xml ;; abort-upgrade|abort-remove|abort-deconfigure) -- 1.7.10.4