From 196e9d1365e945cb8d8831b0e12be5d89ef8b151 Mon Sep 17 00:00:00 2001 From: vhsdream Date: Thu, 5 Jun 2025 15:30:21 -0400 Subject: [PATCH] Wizarr: quiesce output; ensure uv installed --- ct/wizarr.sh | 5 +++-- install/wizarr-install.sh | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ct/wizarr.sh b/ct/wizarr.sh index f78be88d..f905c54b 100644 --- a/ct/wizarr.sh +++ b/ct/wizarr.sh @@ -37,7 +37,7 @@ function update_script() { msg_info "Creating Backup" BACKUP_FILE="/opt/wizarr_backup_$(date +%F).tar.gz" - $STD tar -czf "$BACKUP_FILE" /opt/wizarr/{.env,start.sh} /opt/wizarr/database/* + $STD tar -czf "$BACKUP_FILE" /opt/wizarr/{.env,start.sh} /opt/wizarr/database/ &>/dev/null msg_ok "Backup Created" msg_info "Updating $APP to v${RELEASE}" @@ -46,8 +46,9 @@ function update_script() { unzip -q /tmp/"$RELEASE".zip mv wizarr-${RELEASE}/ /opt/wizarr cd /opt/wizarr + setup_uv uv -q sync --locked - uv -q run pybabel compile -d app/translations + $STD uv -q run pybabel compile -d app/translations $STD npm --prefix app/static install mkdir -p ./.cache uv -q run flask db upgrade diff --git a/install/wizarr-install.sh b/install/wizarr-install.sh index e7ceee99..ceab6489 100644 --- a/install/wizarr-install.sh +++ b/install/wizarr-install.sh @@ -31,7 +31,7 @@ unzip -q /tmp/"$RELEASE".zip mv wizarr-${RELEASE}/ /opt/wizarr cd /opt/wizarr uv -q sync --locked -uv -q run pybabel compile -d app/translations +$STD uv -q run pybabel compile -d app/translations $STD npm --prefix app/static install mkdir -p ./.cache uv -q run flask db upgrade