From eba405ccc7e3bbfb7087b59b44b410ffed2e014e Mon Sep 17 00:00:00 2001 From: Ark74 Date: Tue, 15 Nov 2022 02:11:08 -0600 Subject: [PATCH] add-jibri-node.sh: set openjdk-jre-headless default version to 11 --- add-jibri-node.sh | 2 +- quick_jibri_installer.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/add-jibri-node.sh b/add-jibri-node.sh index 6ae2fc5..80652e9 100644 --- a/add-jibri-node.sh +++ b/add-jibri-node.sh @@ -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 diff --git a/quick_jibri_installer.sh b/quick_jibri_installer.sh index ba8ad49..4b3efa4 100644 --- a/quick_jibri_installer.sh +++ b/quick_jibri_installer.sh @@ -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