File tree Expand file tree Collapse file tree 2 files changed +4
-37
lines changed
Expand file tree Collapse file tree 2 files changed +4
-37
lines changed Original file line number Diff line number Diff line change @@ -27,42 +27,9 @@ function update_script() {
2727 msg_error " No ${APP} Installation Found!"
2828 exit
2929 fi
30-
31- if check_for_gh_release " ProxmoxVE-Local" " community-scripts/ProxmoxVE-Local" ; then
32- msg_info " Stopping Services"
33- systemctl stop pvescriptslocal
34- msg_ok " Stopped Services"
35-
36- msg_info " Backup Data"
37- cp /opt/ProxmoxVE-Local/.env /opt/.env.bak
38- cp -r /opt/ProxmoxVE-Local/data /opt/data.bak
39- msg_ok " Backed up Data"
40-
41- CLEAN_INSTALL=1 fetch_and_deploy_gh_release " ProxmoxVE-Local" " community-scripts/ProxmoxVE-Local"
42-
43- msg_info " Restoring Data"
44- if [[ -f /opt/.env.bak ]]; then
45- mv /opt/.env.bak /opt/ProxmoxVE-Local/.env
46- fi
47- if [[ -d /opt/data.bak ]]; then
48- rm -rf /opt/ProxmoxVE-Local/data
49- mv /opt/data.bak /opt/ProxmoxVE-Local/data
50- fi
51- msg_ok " Restored Data"
52-
53- msg_info " Updating PVE Scripts local"
54- cd /opt/ProxmoxVE-Local
55- chmod 755 data
56- $STD npm install
57- $STD npm run build
58- msg_ok " Updated PVE Scripts local"
59-
60- msg_info " Starting Services"
61- systemctl start pvescriptslocal
62- msg_ok " Started Services"
63- msg_ok " Updated successfully!"
64- fi
65- exit
30+
31+ msg_custom " 🚀" " ${GN} " " The app offers a built-in updater. Please use it."
32+
6633}
6734
6835start
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ $STD apt install -y \
2020 expect
2121msg_ok " Dependencies installed."
2222
23- NODE_VERSION=22 setup_nodejs
23+ NODE_VERSION=24 setup_nodejs
2424fetch_and_deploy_gh_release " ProxmoxVE-Local" " community-scripts/ProxmoxVE-Local"
2525
2626msg_info " Installing PVE Scripts local"
You can’t perform that action at this time.
0 commit comments