From 4cbda30214f22d91d8e01e27d2a169014fc04206 Mon Sep 17 00:00:00 2001 From: vhsdream Date: Thu, 5 Jun 2025 15:44:54 -0400 Subject: [PATCH] Wizarr:small fixes --- ct/wizarr.sh | 4 ++-- install/wizarr-install.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ct/wizarr.sh b/ct/wizarr.sh index 7c27423a..b08ecd7c 100644 --- a/ct/wizarr.sh +++ b/ct/wizarr.sh @@ -51,7 +51,7 @@ function update_script() { $STD uv -q run pybabel compile -d app/translations $STD npm --prefix app/static install mkdir -p ./.cache - $STD tar -xf "$BACKUP_PATH" --directory=/ + $STD tar -xf "$BACKUP_FILE" --directory=/ $STD uv -q run flask db upgrade msg_ok "Updated $APP to v${RELEASE}" @@ -60,7 +60,7 @@ function update_script() { msg_ok "Started $APP" msg_info "Cleaning Up" - rm -rf "$BACKUP_PATH" + rm -rf "$BACKUP_FILE" rm /tmp/"$RELEASE".zip msg_ok "Cleanup Completed" diff --git a/install/wizarr-install.sh b/install/wizarr-install.sh index ceab6489..53d40169 100644 --- a/install/wizarr-install.sh +++ b/install/wizarr-install.sh @@ -34,7 +34,7 @@ uv -q sync --locked $STD uv -q run pybabel compile -d app/translations $STD npm --prefix app/static install mkdir -p ./.cache -uv -q run flask db upgrade +$STD uv -q run flask db upgrade echo "${RELEASE}" >/opt/wizarr_version.txt msg_ok "Installed ${APPLICATION}"