#!/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
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)
#!/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
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)