Skip to content

Commit c2dd1e4

Browse files
authored
Wizarr: fix uv lock issue; use correct output suppression (#7378)
1 parent a4f1766 commit c2dd1e4

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

ct/wizarr.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,14 @@ function update_script() {
4545

4646
msg_info "Updating $APP"
4747
cd /opt/wizarr
48-
/usr/local/bin/uv -q sync --locked
49-
$STD /usr/local/bin/uv -q run pybabel compile -d app/translations
48+
$STD /usr/local/bin/uv lock
49+
$STD /usr/local/bin/uv sync --locked
50+
$STD /usr/local/bin/uv run pybabel compile -d app/translations
5051
$STD npm --prefix app/static install
5152
$STD npm --prefix app/static run build:css
5253
mkdir -p ./.cache
5354
$STD tar -xf "$BACKUP_FILE" --directory=/
54-
$STD /usr/local/bin/uv -q run flask db upgrade
55+
$STD /usr/local/bin/uv run flask db upgrade
5556
msg_ok "Updated $APP"
5657

5758
msg_info "Starting $APP"
@@ -61,7 +62,7 @@ function update_script() {
6162
msg_info "Cleaning Up"
6263
rm -rf "$BACKUP_FILE"
6364
msg_ok "Cleanup Completed"
64-
msg_ok "Update Successfully"
65+
msg_ok "Updated Successfully"
6566
fi
6667
exit
6768
}

install/wizarr-install.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,13 @@ fetch_and_deploy_gh_release "wizarr" "wizarrrr/wizarr"
2323

2424
msg_info "Configure ${APPLICATION}"
2525
cd /opt/wizarr
26-
/usr/local/bin/uv -q sync --locked
27-
$STD /usr/local/bin/uv -q run pybabel compile -d app/translations
26+
$STD /usr/local/bin/uv lock
27+
$STD /usr/local/bin/uv sync --locked
28+
$STD /usr/local/bin/uv run pybabel compile -d app/translations
2829
$STD npm --prefix app/static install
2930
$STD npm --prefix app/static run build:css
3031
mkdir -p ./.cache
31-
$STD /usr/local/bin/uv -q run flask db upgrade
32+
$STD /usr/local/bin/uv run flask db upgrade
3233
msg_ok "Configure ${APPLICATION}"
3334

3435
msg_info "Creating env, start script and service"

0 commit comments

Comments
 (0)