From: Wayne Schneider Date: Fri, 29 Jul 2016 17:12:45 +0000 (-0500) Subject: Fix bug in debian postinst. X-Git-Tag: v0.11~2 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=c850dba553df73469b71a15e285954157310c9d3;p=lui-solr.git Fix bug in debian postinst. --- diff --git a/debian/postinst b/debian/postinst index ee4dd44..f922175 100755 --- a/debian/postinst +++ b/debian/postinst @@ -11,9 +11,9 @@ case "$1" in # 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 + rm -f /var/lib/masterkey/lui/log4j.properties + rm -rf /var/lib/masterkey/lui/logs + rm -f /var/lib/masterkey/lui/data ;; abort-upgrade|abort-remove|abort-deconfigure)