From f907b0be46c5fc6739bea7dc63116b707d236e96 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Fri, 3 Oct 2025 14:48:13 +0200 Subject: [PATCH] Add pve scripts local --- install/pve-scripts-local-install.sh | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/install/pve-scripts-local-install.sh b/install/pve-scripts-local-install.sh index 9e66749e..02b556fa 100644 --- a/install/pve-scripts-local-install.sh +++ b/install/pve-scripts-local-install.sh @@ -17,26 +17,13 @@ msg_info "Installing Dependencies" $STD apt-get update $STD apt-get install -y \ build-essential \ - git \ sshpass \ expect msg_ok "Dependencies installed." NODE_VERSION=22 setup_nodejs -INSTALL_DIR=${INSTALL_DIR:-/opt/PVESciptslocal} - -if [ ! -d "$INSTALL_DIR/.git" ]; then - msg_info "Cloning repository into $INSTALL_DIR..." - $STD git clone https://github.com/michelroegl-brunner/PVESciptslocal.git "$INSTALL_DIR" - msg_ok "Repository cloned." -else - msg_info "Directory already exists. Pulling latest changes..." - $STD git -C "$INSTALL_DIR" pull - msg_ok "Repository updated." -fi - -cd "$INSTALL_DIR" +fetch_and_deploy_gh_release "ProxmoxVE-Local" "community-scripts/ProxmoxVE-Local" msg_info "Installing PVE Scripts local" $STD npm install