- cd ~/.irssi/trigger-helper
- #oldHead=$(git rev-parse HEAD)
- #git fetch origin
- #newHead=$(git rev-parse FETCH_HEAD)
- #[[ $oldHead = $newHead ]] && exit 0
- #git reset --hard -q origin/master && echo "updated git"
- trigger_header="#Triggers file version 1.0+"
- echo $trigger_header | cat - ignores.re downloads.re > triggers.conf
|