diff --git a/ct/ps5-mqtt.sh b/ct/ps5-mqtt.sh index 2dfe955f..568d8a4d 100644 --- a/ct/ps5-mqtt.sh +++ b/ct/ps5-mqtt.sh @@ -25,6 +25,10 @@ color catch_errors function update_script() { + header_info + check_container_storage + check_container_resources + if [[ ! -d /opt/ps5-mqtt ]]; then msg_error "No ${APP} installation found!" exit @@ -32,10 +36,6 @@ function update_script() { RELEASE=$(curl -s https://api.github.com/repos/FunkeyFlo/ps5-mqtt/releases/latest | jq -r '.tag_name') - header_info - check_container_storage - check_container_resources - if [[ "${RELEASE}" != "$(cat /opt/ps5-mqtt_version.txt)" ]]; then msg_info "Stopping service" systemctl stop ps5-mqtt.service