update.sh 323 B

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