Improve list-grabber a bit more, 7z in ramdisk

This commit is contained in:
mp3geek 2011-12-29 21:33:34 +13:00
parent 9ac6d18d7e
commit 0e1ed43314

View File

@ -53,10 +53,11 @@ then
cp -f $GOOGLEDIR/fanboy-adblocklist-current-expanded.txt $TESTDIR/fanboy-adblock.txt
# Re-generate checksum
perl $TESTDIR/addChecksum.pl $TESTDIR/fanboy-adblock.txt
cp $TESTDIR/fanboy-adblock.txt $MAINDIR/fanboy-adblock.txt
# Wipe old file.
rm -rf $MAINDIR/fanboy-adblock.txt.gz
$ZIP a -mx=9 -y -tgzip $MAINDIR/fanboy-adblock.txt.gz $TESTDIR/fanboy-adblock.txt > /dev/null
cp -f $TESTDIR/fanboy-adblock.txt $MAINDIR/fanboy-adblock.txt
# Compress file in Ram disk
$ZIP a -mx=9 -y -tgzip $TESTDIR/fanboy-adblock.txt.gz $TESTDIR/fanboy-adblock.txt > /dev/null
rm -f $MAINDIR/fanboy-adblock.txt.gz
cp -f $TESTDIR/fanboy-adblock.txt.gz $MAINDIR/fanboy-adblock.txt.gz
# perl $TESTDIR/addChecksum.pl $TESTDIR/firefox-expanded.txt-org2
# cp -f $TESTDIR/firefox-expanded.txt-org2 $MAINDIR/fanboy-adblock.txt
# cp -f $GOOGLEDIR/fanboy-adblocklist-current-expanded.txt $MAINDIR/fanboy-adblock.txt