Skip to content

Commit

Permalink
maintenance: use venv
Browse files Browse the repository at this point in the history
  • Loading branch information
Félix Piédallu committed Sep 13, 2024
1 parent 232ee74 commit 7ca3fcb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions maintenance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ rebuild_catalog() {
date
update_apps_repo
update_apps_cache
./list_builder.py -l .apps -c .apps_cache ../catalog/default
venv/bin/python3 list_builder.py -l .apps -c .apps_cache ../catalog/default
}

autoupdate_app_sources_error_msg="[autoupdate_app_sources] App sources auto-update failed miserably!"
autoupdate_app_sources() {
date
update_apps_repo
update_apps_cache
autoupdate_app_sources/venv/bin/python3 autoupdate_app_sources/autoupdate_app_sources.py \
venv/bin/python3 autoupdate_app_sources/autoupdate_app_sources.py \
-l .apps -c .apps_cache --latest-commit-weekly --edit --commit --pr --paste -j1
}

Expand All @@ -77,7 +77,7 @@ update_app_levels() {
date
update_apps_repo
update_apps_cache
python3 update_app_levels.py -l .apps -c .apps_cache
venv/bin/python3 update_app_levels.py -l .apps -c .apps_cache
}

safe_run() {
Expand Down

0 comments on commit 7ca3fcb

Please sign in to comment.