1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

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 227ef60d5d
commit fd7163a940
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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"
} }