try to fix java install issue

This commit is contained in:
marvzhang
2020-03-06 10:15:46 +08:00
parent 1e2733c793
commit 215c4a7274
2 changed files with 22 additions and 11 deletions

View File

@@ -0,0 +1,17 @@
#/bin/bash
# install node.js
if [ "${CRAWLAB_SERVER_LANG_NODE}" = "Y" ];
then
echo "installing node.js"
/bin/sh /app/backend/scripts/install-nodejs.sh
echo "installed node.js"
fi
# install java
if [ "${CRAWLAB_SERVER_LANG_JAVA}" = "Y" ];
then
echo "installing java"
/bin/sh /app/backend/scripts/install-java.sh
echo "installed java"
fi