Fix post inst/rm for solr 4 v0.4.2
authorDennis Schafroth <dennis@indexdata.com>
Fri, 28 Jun 2013 14:14:33 +0000 (16:14 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Fri, 28 Jun 2013 14:14:33 +0000 (16:14 +0200)
debian/masterkey-lui-solr4-master-tomcat6.postinst
debian/masterkey-lui-solr4-master-tomcat6.postrm
debian/masterkey-lui-solr4-slave-tomcat6.postinst
debian/masterkey-lui-solr4-slave-tomcat6.postrm

index 9b4ba0a..c8c84fb 100644 (file)
@@ -1,3 +1,3 @@
 #!/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
+ln -sf /etc/masterkey/lui/lui-solr4-master.xml /etc/tomcat6/Catalina/localhost/solr4.xml
+chown -R tomcat6:tomcat6 /var/lib/masterkey/lui/solr4/master
index 8b3502e..d9015e2 100644 (file)
@@ -2,7 +2,7 @@
 
 case "$1" in
     purge|remove)
-       rm -f /etc/tomcat6/Catalina/localhost/solr.xml
+       rm -f /etc/tomcat6/Catalina/localhost/solr4.xml
 #      rm -f /etc/tomcat6/policy.d/05harvester.policy
         ;;
     upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
index a647647..ea92d0e 100644 (file)
@@ -1,3 +1,3 @@
 #!/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
+ln -sf /etc/masterkey/lui/lui-solr4-slave.xml /etc/tomcat6/Catalina/localhost/solr4-slave.xml
+chown -R tomcat6:tomcat6 /var/lib/masterkey/lui/solr4/slave
index 2c4542a..086454d 100644 (file)
@@ -2,7 +2,7 @@
 
 case "$1" in
     purge|remove)
-       rm -f /etc/tomcat6/Catalina/localhost/solr-slave.xml
+       rm -f /etc/tomcat6/Catalina/localhost/solr4-slave.xml
 #      rm -f /etc/tomcat6/policy.d/05harvester.policy
         ;;
     upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)