From 0e1ed4331417cef4f912141ff2c37db4b8bebc8d Mon Sep 17 00:00:00 2001 From: mp3geek Date: Thu, 29 Dec 2011 21:33:34 +1300 Subject: [PATCH] Improve list-grabber a bit more, 7z in ramdisk --- scripts/list-grabber.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/list-grabber.sh b/scripts/list-grabber.sh index ec98966de..6fd10c791 100644 --- a/scripts/list-grabber.sh +++ b/scripts/list-grabber.sh @@ -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