File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,14 @@ function update_script() {
2323 header_info
2424 check_container_storage
2525 check_container_resources
26- if [[ ! -d /opt/pulse ]]; then
27- msg_error " No ${APP} Installation Found!"
28- exit
29- fi
3026 if [[ -d /opt/pulse-monitor ]]; then
3127 msg_error " An old installation was detected. Please recreate the LXC from scratch (https://github.com/community-scripts/ProxmoxVE/pull/4848)"
3228 exit 1
3329 fi
30+ if [[ ! -d /opt/pulse ]]; then
31+ msg_error " No ${APP} Installation Found!"
32+ exit
33+ fi
3434 RELEASE=$( curl -fsSL https://api.github.com/repos/rcourtman/Pulse/releases/latest | grep " tag_name" | awk ' {print substr($2, 3, length($2)-4) }' )
3535 if [[ ! -f /opt/${APP} _version.txt ]] || [[ " ${RELEASE} " != " $( cat /opt/${APP} _version.txt) " ]]; then
3636 msg_info " Stopping ${APP} "
You can’t perform that action at this time.
0 commit comments