Add pve scripts local

This commit is contained in:
Michel Roegl-Brunner 2025-10-03 13:08:06 +02:00
parent b2f25f1f29
commit 1c071cbc1e

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Copyright (c) 2021-2025 community-scripts ORG # Copyright (c) 2021-2025 community-scripts ORG
# Author: michelroegl-brunner # Author: michelroegl-brunner
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
@ -22,7 +22,7 @@ msg_info "Installing Dependencies"
expect expect
msg_ok "Dependencies installed." msg_ok "Dependencies installed."
NODE_VERSION=24 setup_nodejs NODE_VERSION=22 setup_nodejs
INSTALL_DIR=${INSTALL_DIR:-/opt/PVESciptslocal} INSTALL_DIR=${INSTALL_DIR:-/opt/PVESciptslocal}
@ -36,7 +36,7 @@ else
msg_ok "Repository updated." msg_ok "Repository updated."
fi fi
cd "$INSTALL_DIR" || exit cd "$INSTALL_DIR" || exit
msg_info "Installing PVE Scripts local" msg_info "Installing PVE Scripts local"
$STD npm install $STD npm install