mirror of
https://github.com/YunoHost/yunodevtools.git
synced 2024-09-03 20:16:19 +02:00
Replace should_i_rebuild.sh by a new script that corresponds to what we do in the current cron job nowadays
This commit is contained in:
parent
94d8dcb198
commit
5d9d3686fa
1 changed files with 10 additions and 0 deletions
10
rebuild.sh
Normal file
10
rebuild.sh
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
workdir=$(dirname "$0")
|
||||
log=$workdir/app_list_auto_update.log
|
||||
|
||||
cd $workdir
|
||||
date >> $log
|
||||
git pull >/dev/null
|
||||
|
||||
python ./list_builder.py &>> $log || sendxmpppy "[listbuilder] Rebuilding the application list failed miserably"
|
Loading…
Add table
Reference in a new issue