Fix bug in debian postinst.
authorWayne Schneider <wayne@indexdata.com>
Fri, 29 Jul 2016 17:12:45 +0000 (12:12 -0500)
committerWayne Schneider <wayne@indexdata.com>
Fri, 29 Jul 2016 17:12:45 +0000 (12:12 -0500)
debian/postinst

index ee4dd44..f922175 100755 (executable)
@@ -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)