mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-30 22:16:02 +00:00
fix(sparkyfitness-garmin): recreate venv on update (#13824)
This commit is contained in:
@@ -69,6 +69,9 @@ function update() {
|
|||||||
msg_ok "Stopped service"
|
msg_ok "Stopped service"
|
||||||
|
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "sparkyfitness-garmin" "CodeWithCJ/SparkyFitness" "tarball" "latest" $INSTALL_PATH
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "sparkyfitness-garmin" "CodeWithCJ/SparkyFitness" "tarball" "latest" $INSTALL_PATH
|
||||||
|
cd $INSTALL_PATH/SparkyFitnessGarmin
|
||||||
|
$STD uv venv --clear .venv
|
||||||
|
$STD uv pip install -r requirements.txt
|
||||||
|
|
||||||
msg_info "Starting service"
|
msg_info "Starting service"
|
||||||
systemctl start sparkyfitness-garmin
|
systemctl start sparkyfitness-garmin
|
||||||
|
|||||||
Reference in New Issue
Block a user