Commit d080d4a3 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

when sym link to minerva exists installation is not broken

parent d5b04014
......@@ -64,7 +64,7 @@ case "$1" in
#availble when new war is deployed from debian package, so tomcat will catch SQL exception and stop deployment
invoke-rc.d $TOMCAT_PACKAGE stop || true
rm -rf /var/lib/$TOMCAT_PACKAGE/webapps/minerva
ln -s /usr/share/minerva/minerva.war /var/lib/$TOMCAT_PACKAGE/webapps/minerva.war
ln -sf /usr/share/minerva/minerva.war /var/lib/$TOMCAT_PACKAGE/webapps/minerva.war
invoke-rc.d $TOMCAT_PACKAGE start
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment