소스 검색

Update homepage-install.sh

Fix install
Debian 12 compatible
tteckster 2 년 전
부모
커밋
825070b914
1개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. 5 4
      install/homepage-install.sh

+ 5 - 4
install/homepage-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_18.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 git make g++ gcc
 $STD npm install -g pnpm
 msg_ok "Installed Node.js"