mirror of
https://github.com/Febbweiss/docker-xwiki-jetty.git
synced 2026-03-05 06:45:36 +00:00
fixed redeploy
This commit is contained in:
2
start.sh
2
start.sh
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ "$WIKI_CONTEXT" == "xwiki" ];then
|
if [ "$WIKI_CONTEXT" != "" ];then
|
||||||
if [ ! -f "${JETTY_BASE}/webapps/${WIKI_CONTEXT}" ];then
|
if [ ! -f "${JETTY_BASE}/webapps/${WIKI_CONTEXT}" ];then
|
||||||
mv ${JETTY_BASE}/webapps/ROOT ${JETTY_BASE}/webapps/${WIKI_CONTEXT}
|
mv ${JETTY_BASE}/webapps/ROOT ${JETTY_BASE}/webapps/${WIKI_CONTEXT}
|
||||||
#curl http://download.forge.ow2.org/xwiki/xwiki-enterprise-web-8.0-milestone-2.war --output webapps/xwiki8.war
|
#curl http://download.forge.ow2.org/xwiki/xwiki-enterprise-web-8.0-milestone-2.war --output webapps/xwiki8.war
|
||||||
|
|||||||
Reference in New Issue
Block a user