Merge pull request #2059 from Salamandar/scripts
Split apps_cache call, run apps_cache update when updating sources, a…
This commit is contained in:
commit
55f3829cb8
@ -8,4 +8,5 @@ date >> $log
|
|||||||
git pull &>/dev/null
|
git pull &>/dev/null
|
||||||
cat cron | sed "s@__BASEDIR__@$workdir@g" > /etc/cron.d/app_list
|
cat cron | sed "s@__BASEDIR__@$workdir@g" > /etc/cron.d/app_list
|
||||||
|
|
||||||
./tools/list_builder.py &>> $log || sendxmpppy "[listbuilder] Rebuilding the application list failed miserably"
|
./tools/app_caches.py -j40 &>> $log || sendxmpppy "[listbuilder] Downloading the apps caches failed miserably"
|
||||||
|
./tools/list_builder.py -j10 --no-update-cache &>> $log || sendxmpppy "[listbuilder] Rebuilding the application list failed miserably"
|
||||||
|
@ -8,6 +8,8 @@ date >> $log
|
|||||||
git pull &>/dev/null
|
git pull &>/dev/null
|
||||||
cat cron | sed "s@__BASEDIR__@$workdir@g" > /etc/cron.d/app_list
|
cat cron | sed "s@__BASEDIR__@$workdir@g" > /etc/cron.d/app_list
|
||||||
|
|
||||||
|
./tools/app_caches.py -j40 &>> $log || sendxmpppy "[appsourcesautoupdate] Downloading the apps caches failed miserably"
|
||||||
|
|
||||||
python3 tools/autoupdate_app_sources/autoupdate_app_sources.py \
|
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"
|
||||||
|
Loading…
Reference in New Issue
Block a user