mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-30 18:00:56 +01:00
try to fix java install issue
This commit is contained in:
17
backend/scripts/install.sh
Normal file
17
backend/scripts/install.sh
Normal 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
|
||||
Reference in New Issue
Block a user