From f5267a7e432755e2a0711345e48407b16fac2619 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 30 Jun 2023 21:25:52 -0400 Subject: [PATCH] Update wikijs-install.sh fix to work with Debian 11 --- install/wikijs-install.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/install/wikijs-install.sh b/install/wikijs-install.sh index f6a93f50..32152da6 100644 --- a/install/wikijs-install.sh +++ b/install/wikijs-install.sh @@ -20,11 +20,12 @@ $STD apt-get install -y mc $STD apt-get install -y git msg_ok "Installed Dependencies" +msg_info "Setting up Node.js Repository" +$STD bash <(curl -fsSL https://deb.nodesource.com/setup_16.x) +msg_ok "Set up Node.js Repository" + msg_info "Installing Node.js" -$STD bash <(curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh) -. ~/.bashrc -$STD nvm install 16.20.1 -ln -sf /root/.nvm/versions/node/v16.20.1/bin/node /usr/bin/node +$STD apt-get install -y nodejs msg_ok "Installed Node.js" msg_info "Installing Wiki.js"