all hgpulls in listgrabber

This commit is contained in:
fanboy 2012-08-24 19:13:28 +12:00
parent 1fb90ff51b
commit ded588a23b

View File

@ -7,6 +7,7 @@
#
# Version history
#
# 2.03 Allow Hg pulls
# 2.02 Typo in fanboy-elements-specific.txt
# 2.01 Various cleanups, add Israeli List
# 2.00 Re-write the script to support split files
@ -65,6 +66,14 @@ if [ ! -d "/tmp/Ramdisk/www/adblock/split" ]; then
mkdir /tmp/Ramdisk/www/adblock/split; chmod 777 /tmp/Ramdisk/www/adblock/split
fi
# Make sure hg dir is there
#
if [ -d "/tmp/hgstuff/fanboy-adblock-list" ]; then
cd /tmp/hgstuff/fanboy-adblock-list
$NICE $HG pull
$NICE $HG update
fi
# Fanboy-Adblock (fanboy-generic.txt)
# Make sure the file exists, and the work directorys are also there before processing.