Provide default adblock config with easylist

This commit is contained in:
Christian Dywan 2009-10-02 23:13:47 +02:00
parent 18ab34bdc8
commit ec81068299
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,2 @@
[settings]
filters=http://adblockplus.mozdev.org/easylist/easylist.txt

10
wscript
View file

@ -454,6 +454,16 @@ def build (bld):
bld.install_files ('${MDATADIR}/' + APPNAME + '/res', 'data/speeddial.json')
bld.install_files ('${MDATADIR}/' + APPNAME + '/res', 'data/mootools.js')
# FIXME: Determine the library naming for other platforms
if Options.platform == 'linux':
extensions = os.listdir ('data/extensions')
for extension in extensions:
folder = 'lib' + extension + '.so'
source = 'data/extensions/' + extension + '/config'
if os.path.exists (source):
bld.install_files ('${SYSCONFDIR}/' + APPNAME + \
'/extensions/' + folder, source)
if Options.commands['check']:
bld.add_subdirs ('tests')