Update install.sh

This commit is contained in:
midoks
2019-08-20 15:55:09 +08:00
parent 9e18633e8c
commit 6447c02cff
+2 -2
View File
@@ -76,11 +76,11 @@ Install_solr()
cp -rf ${SOLR_DIR}/mysql-connector-java-8.0.17.jar $serverPath/solr/dist/
fi
if [ -f ${SOLR_DIR}/mmseg4j-2.4.0/mmseg4j-core-1.10.0.jar ];then
if [ ! -f $serverPath/solr/dist/mmseg4j-core-1.10.0.jar ];then
cp -rf ${SOLR_DIR}/mmseg4j-2.4.0/mmseg4j-core-1.10.0.jar $serverPath/solr/dist/
fi
if [ -f ${SOLR_DIR}/mmseg4j-2.4.0/mmseg4j-solr-2.4.0.jar ];then
if [ ! -f $serverPath/solr/dist/mmseg4j-solr-2.4.0.jar ];then
cp -rf ${SOLR_DIR}/mmseg4j-2.4.0/mmseg4j-solr-2.4.0.jar $serverPath/solr/dist/
fi
fi