fix: lowercase variables

This commit is contained in:
Kyle Kroboth
2025-03-12 23:25:38 -04:00
parent e238be2d3c
commit 32c28e0aa7
2 changed files with 10 additions and 10 deletions

View File

@@ -30,8 +30,8 @@ function update_script() {
exit
fi
UPDATE_AVAILABLE=$(curl -s -X 'GET' "http://localhost:19200/api/status/update-available" -H 'accept: application/json' | jq .UpdateAvailable)
if [[ "${UPDATE_AVAILABLE}" == "true" ]]; then
update_available=$(curl -s -X 'GET' "http://localhost:19200/api/status/update-available" -H 'accept: application/json' | jq .UpdateAvailable)
if [[ "${update_available}" == "true" ]]; then
msg_info "Stopping $APP"
systemctl stop fileflows
msg_ok "Stopped $APP"