yunodevtools/rebuild.sh

10 lines
243 B
Bash

#!/usr/bin/env bash
workdir=$(dirname "$0")
log=$workdir/app_list_auto_update.log
cd $workdir
date >> $log
git pull &>/dev/null
./tools/list_builder.py &>> $log || sendxmpppy "[listbuilder] Rebuilding the application list failed miserably"