From 9f9ab83b5087e0e295ff1891e362316e1ce9750b Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 27 May 2025 13:41:28 +0200 Subject: [PATCH] add more --- install/cryptpad-install.sh | 8 +------- install/pairdrop-install.sh | 10 ++-------- install/paperless-gpt-install.sh | 20 ++------------------ install/revealjs-install.sh | 11 +---------- 4 files changed, 6 insertions(+), 43 deletions(-) diff --git a/install/cryptpad-install.sh b/install/cryptpad-install.sh index 581211994..74b7f8074 100644 --- a/install/cryptpad-install.sh +++ b/install/cryptpad-install.sh @@ -15,16 +15,10 @@ update_os msg_info "Installing Dependencies" $STD apt-get install -y \ - gnupg \ git msg_ok "Installed Dependencies" -NODE_VERSION="22" NODE_MODULE="yarn@latest" install_node_and_modules - -msg_info "Setup Node.js" -$STD apt-get update -$STD apt-get install -y nodejs -msg_ok "Setup Node.js" +NODE_VERSION="22" install_node_and_modules read -p "${TAB3}Install OnlyOffice components instead of CKEditor? (Y/N): " onlyoffice diff --git a/install/pairdrop-install.sh b/install/pairdrop-install.sh index 9969ab459..8c7724134 100644 --- a/install/pairdrop-install.sh +++ b/install/pairdrop-install.sh @@ -15,16 +15,10 @@ update_os msg_info "Installing Dependencies" $STD apt-get install -y \ - git \ - gpg + git msg_ok "Installed Dependencies" -NODE_VERSION="22" NODE_MODULE="yarn@latest" install_node_and_modules - -msg_info "Installing Node.js" -$STD apt-get update -$STD apt-get install -y nodejs -msg_ok "Installed Node.js" +NODE_VERSION="22" install_node_and_modules msg_info "Installing PairDrop" git clone -q https://github.com/schlagmichdoch/PairDrop.git /opt/pairdrop diff --git a/install/paperless-gpt-install.sh b/install/paperless-gpt-install.sh index e1d24cdf8..43b994229 100644 --- a/install/paperless-gpt-install.sh +++ b/install/paperless-gpt-install.sh @@ -16,7 +16,6 @@ update_os msg_info "Installing Dependencies" $STD apt-get install -y \ gcc \ - gnupg \ ca-certificates \ musl-dev \ mupdf \ @@ -24,23 +23,8 @@ $STD apt-get install -y \ musl-tools msg_ok "Installed Dependencies" -NODE_VERSION="22" NODE_MODULE="yarn@latest" install_node_and_modules - -msg_info "Installing Node.js" -$STD apt-get update -$STD apt-get install -y nodejs -msg_ok "Installed Node.js" - -msg_info "Installing Golang" -set +o pipefail -temp_file=$(mktemp) -golang_tarball=$(curl -fsSL https://go.dev/dl/ | grep -oP 'go[\d\.]+\.linux-amd64\.tar\.gz' | head -n 1) -curl -fsSL "https://golang.org/dl/${golang_tarball}" -o "$temp_file" -tar -C /usr/local -xzf "$temp_file" -ln -sf /usr/local/go/bin/go /usr/local/bin/go -rm -f "$temp_file" -set -o pipefail -msg_ok "Installed Golang" +NODE_VERSION="22" install_node_and_modules +install_go msg_info "Setup Paperless-GPT" temp_file=$(mktemp) diff --git a/install/revealjs-install.sh b/install/revealjs-install.sh index 5545eed3a..3db939c3b 100644 --- a/install/revealjs-install.sh +++ b/install/revealjs-install.sh @@ -13,16 +13,7 @@ setting_up_container network_check update_os -msg_info "Installing Dependencies" -$STD apt-get install -y gnupg -msg_ok "Installed Dependencies" - -NODE_VERSION="22" NODE_MODULE="yarn@latest" install_node_and_modules - -msg_info "Setup Node.js" -$STD apt-get update -$STD apt-get install -y nodejs -msg_ok "Setup Node.js" +NODE_VERSION="22" install_node_and_modules msg_info "Setup ${APPLICATION}" temp_file=$(mktemp)