1
0
Fork 0

maintenance.sh: auto_update_app_source script should run inside a venv ? (#2333)

This commit is contained in:
Alexandre Aubin 2024-05-13 17:36:04 +02:00 committed by GitHub
parent 6d5115f0d1
commit 1562942c6a

View file

@ -68,7 +68,7 @@ function autoupdate_app_sources()
log=$workdir/app_sources_auto_update.log log=$workdir/app_sources_auto_update.log
date >> $log date >> $log
git_pull_and_update_cron_and_restart_services_if_needed git_pull_and_update_cron_and_restart_services_if_needed
python3 tools/autoupdate_app_sources/autoupdate_app_sources.py \ tools/autoupdate_app_sources/venv/bin/python3 tools/autoupdate_app_sources/autoupdate_app_sources.py \
--edit --commit --pr --paste -j1 \ --edit --commit --pr --paste -j1 \
&> $log || sendxmpppy "[appsourcesautoupdate] App sources auto-update failed miserably" &> $log || sendxmpppy "[appsourcesautoupdate] App sources auto-update failed miserably"
} }