add-jibri-node.sh: set openjdk-jre-headless default version to 11

This commit is contained in:
Luis Guzmán 2022-11-15 02:11:08 -06:00
parent 87092a8f0d
commit eba405ccc7
2 changed files with 2 additions and 2 deletions

View File

@ -265,7 +265,7 @@ echo "
" "
apt-get -y install \ apt-get -y install \
jibri \ jibri \
openjdk-8-jre-headless openjdk-11-jre-headless
echo "# Installing Google Chrome / ChromeDriver" echo "# Installing Google Chrome / ChromeDriver"
if [ "$GOOGLE_ACTIVE_REPO" = "main" ]; then if [ "$GOOGLE_ACTIVE_REPO" = "main" ]; then

View File

@ -391,7 +391,7 @@ echo "
if [ "$(dpkg-query -W -f='${Status}' nodejs 2>/dev/null | grep -c "ok")" == "1" ]; then if [ "$(dpkg-query -W -f='${Status}' nodejs 2>/dev/null | grep -c "ok")" == "1" ]; then
echo "Nodejs is installed, skipping..." echo "Nodejs is installed, skipping..."
else 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 apt-get install -yq2 nodejs
echo "Installing nodejs esprima package..." echo "Installing nodejs esprima package..."
npm install -g esprima npm install -g esprima