fanboy-adblock/script.sh
2010-02-21 05:00:30 +13:00

30 lines
1.0 KiB
Bash
Executable File

#!/bin/bash
# Firefox
hg update
hg pull --rebase remote
hg pull
perl addChecksum.pl fanboy-adblocklist-adult.txt
perl addChecksum.pl fanboy-adblocklist-current-expanded.txt
perl addChecksum.pl fanboy-adblocklist-stats.txt
perl addChecksum.pl fanboy-adblocklist-dimensions-v2.txt
perl addChecksum.pl fanboy-adblocklist-current-p2p.txt
# RUS
perl addChecksum.pl fanboy-morpeh-rus.txt
# Firefox Regional lists
perl addChecksum.pl firefox-regional/fanboy-adblocklist-cz.txt
perl addChecksum.pl firefox-regional/fanboy-adblocklist-chn.txt
perl addChecksum.pl firefox-regional/fanboy-adblocklist-krn.txt
perl addChecksum.pl firefox-regional/fanboy-adblocklist-jpn.txt
perl addChecksum.pl firefox-regional/fanboy-adblocklist-esp.txt
perl addChecksum.pl firefox-regional/fanboy-adblocklist-tky.txt
perl addChecksum.pl firefox-regional/fanboy-adblocklist-rus.txt
# Opera
perl addChecksum-opera.pl opera/urlfilter.ini
perl addChecksum.pl opera/fanboy-adblocklist-elements-v3.css
# Iron
perl addChecksum-opera.pl iron/adblock-beta.ini
# Now sync
hg add .
hg commit -m "$1"
hg push