File tree Expand file tree Collapse file tree 2 files changed +2
-14
lines changed
Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -40,17 +40,11 @@ function update_script() {
4040 temp_file=$( mktemp)
4141 mkdir -p /opt/pulse-proxmox
4242 rm -rf /opt/pulse-proxmox/*
43- curl -fsSL " https://github.com/rcourtman/Pulse/archive/refs/tags/ v${RELEASE} .tar.gz" -o " $temp_file "
43+ curl -fsSL " https://github.com/rcourtman/Pulse/releases/download/v ${RELEASE} /pulse- v${RELEASE} .tar.gz" -o " $temp_file "
4444 tar zxf " $temp_file " --strip-components=1 -C /opt/pulse-proxmox
4545 if [[ -f /tmp/.env.backup.pulse ]]; then
4646 mv /tmp/.env.backup.pulse /opt/pulse-proxmox/.env
4747 fi
48- cd /opt/pulse-proxmox
49- $STD npm install --unsafe-perm
50- cd /opt/pulse-proxmox/server
51- $STD npm install --unsafe-perm
52- cd /opt/pulse-proxmox
53- $STD npm run build:css
5448 echo " ${RELEASE} " > /opt/${APP} _version.txt
5549 msg_ok " Updated Pulse to ${RELEASE} "
5650
Original file line number Diff line number Diff line change @@ -33,14 +33,8 @@ msg_info "Setup Pulse"
3333RELEASE=$( curl -fsSL https://api.github.com/repos/rcourtman/Pulse/releases/latest | grep " tag_name" | awk ' {print substr($2, 3, length($2)-4) }' )
3434temp_file=$( mktemp)
3535mkdir -p /opt/pulse-proxmox
36- curl -fsSL " https://github.com/rcourtman/Pulse/archive/refs/tags/ v${RELEASE} .tar.gz" -o " $temp_file "
36+ curl -fsSL " https://github.com/rcourtman/Pulse/releases/download/v ${RELEASE} /pulse- v${RELEASE} .tar.gz" -o " $temp_file "
3737tar zxf " $temp_file " --strip-components=1 -C /opt/pulse-proxmox
38- cd /opt/pulse-proxmox
39- $STD npm install --unsafe-perm
40- cd /opt/pulse-proxmox/server
41- $STD npm install --unsafe-perm
42- cd /opt/pulse-proxmox
43- $STD npm run build:css
4438echo " ${RELEASE} " > /opt/${APPLICATION} _version.txt
4539msg_ok " Installed Pulse"
4640
You can’t perform that action at this time.
0 commit comments