Update fumadocs-install.sh

This commit is contained in:
CanbiZ 2025-05-06 07:51:24 +02:00
parent 47c27dc1f2
commit 7587b22344

View File

@ -14,19 +14,11 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y \ $STD apt-get install -y \
gnupg \
ca-certificates \ ca-certificates \
expect expect
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Node.js" NODE_VERSION="22" install_node_and_modules
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_22.x nodistro main" >/etc/apt/sources.list.d/nodesource.list
$STD apt-get update
$STD apt-get install -y nodejs
$STD npm install -g pnpm
msg_ok "Installed Node.js"
msg_info "Installing Fumadocs" msg_info "Installing Fumadocs"
fetch_and_deploy_gh_release fuma-nama/fumadocs fetch_and_deploy_gh_release fuma-nama/fumadocs