forked from switnet/quick-jibri-installer
add-jibri-node.sh: set openjdk-jre-headless default version to 11
This commit is contained in:
parent
87092a8f0d
commit
eba405ccc7
|
@ -265,7 +265,7 @@ echo "
|
|||
"
|
||||
apt-get -y install \
|
||||
jibri \
|
||||
openjdk-8-jre-headless
|
||||
openjdk-11-jre-headless
|
||||
|
||||
echo "# Installing Google Chrome / ChromeDriver"
|
||||
if [ "$GOOGLE_ACTIVE_REPO" = "main" ]; then
|
||||
|
|
|
@ -391,7 +391,7 @@ echo "
|
|||
if [ "$(dpkg-query -W -f='${Status}' nodejs 2>/dev/null | grep -c "ok")" == "1" ]; then
|
||||
echo "Nodejs is installed, skipping..."
|
||||
else
|
||||
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
|
||||
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
|
||||
apt-get install -yq2 nodejs
|
||||
echo "Installing nodejs esprima package..."
|
||||
npm install -g esprima
|
||||
|
|
Loading…
Reference in New Issue