From 7492d57617f1e80de1e271d4bed165de7ac36c80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20B=C3=A9dard-Couture?= Date: Mon, 9 Dec 2024 12:22:35 -0500 Subject: [PATCH] Cleanup duplicate NodeJS installation commands --- install/authentik-install.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/install/authentik-install.sh b/install/authentik-install.sh index 3b6d1484..4b1ea355 100644 --- a/install/authentik-install.sh +++ b/install/authentik-install.sh @@ -58,7 +58,6 @@ rm -rf Python.tgz $STD update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3.12 1 msg_ok "Installed Python 3.12" -NODE_VER="22" msg_info "Setting up Node.js Repository" mkdir -p /etc/apt/keyrings curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg @@ -69,12 +68,6 @@ msg_info "Installing Node.js" $STD apt-get update $STD apt-get install -y nodejs msg_ok "Installed Node.js" -mkdir -p /etc/apt/keyrings -curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg -echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE_VER}.x nodistro main" >/etc/apt/sources.list.d/nodesource.list -$STD apt-get update -$STD apt-get install -y nodejs -msg_ok "Installed Node.js ${NODE_VER}" msg_info "Installing Golang" set +o pipefail