3 # ********************************************************************
5 # File : $Source: /cvsroot/ijbswa/current/privoxy.weekly,v $
7 # Purpose : Downloads updated configuration (blocklists, ...)
10 # Copyright : Written by and Copyright (C) 2001 the SourceForge
11 # Privoxy team. http://www.privoxy.org/
13 # Based on the Internet Junkbuster originally written
14 # by and Copyright (C) 1997 Anonymous Coders and
15 # Junkbusters Corporation. http://www.junkbusters.com
17 # This program is free software; you can redistribute it
18 # and/or modify it under the terms of the GNU General
19 # Public License as published by the Free Software
20 # Foundation; either version 2 of the License, or (at
21 # your option) any later version.
23 # This program is distributed in the hope that it will
24 # be useful, but WITHOUT ANY WARRANTY; without even the
25 # implied warranty of MERCHANTABILITY or FITNESS FOR A
26 # PARTICULAR PURPOSE. See the GNU General Public
27 # License for more details.
29 # The GNU General Public License should be included with
30 # this file. If not, you can view it at
31 # http://www.gnu.org/copyleft/gpl.html
32 # or write to the Free Software Foundation, Inc., 59
33 # Temple Place - Suite 330, Boston, MA 02111-1307, USA.
36 # $Log: privoxy.weekly,v $
37 # Revision 1.2 2002/03/24 11:40:14 swa
40 # Revision 1.1 2002/03/24 11:23:44 swa
43 # Revision 1.2 2001/05/24 07:52:24 swa
44 # added header. removed ^M.
46 # Revision 1.3 2001/05/24 07:41:33 swa
51 # ********************************************************************/
56 wget -q --output-document=/etc/junkbuster/blocklist.new \
57 http://www.waldherr.org/blocklist
59 mv -f /etc/junkbuster/blocklist.new /etc/junkbuster/blocklist
61 if [ -f /etc/junkbuster/blocklist.local ] ; then
62 cat /etc/junkbuster/blocklist.local >> /etc/junkbuster/blocklist
65 chmod 644 /etc/junkbuster/blocklist