From: wreis Date: Wed, 3 Nov 2010 12:16:42 +0000 (-0300) Subject: Fix cache_dir, use the default from App::Cache (which is /.backpan_index/cache) X-Git-Tag: 0.14~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FBackPAN-Web.git;a=commitdiff_plain;h=98bc833ab197c4d9c1ee81cafc9bde260663e89c Fix cache_dir, use the default from App::Cache (which is /.backpan_index/cache) --- diff --git a/lib/BackPAN/Web.pm b/lib/BackPAN/Web.pm index 51e01ee..17ae0b0 100644 --- a/lib/BackPAN/Web.pm +++ b/lib/BackPAN/Web.pm @@ -47,7 +47,6 @@ sub backpan_index { return $_[0]->{'backpan_index'} ||= BackPAN::Index->new({ update => 0, debug => 0, - cache_dir => 'index', releases_only_from_authors => 1, }); } diff --git a/script/update_index.pl b/script/update_index.pl index 4acf8d5..3954668 100644 --- a/script/update_index.pl +++ b/script/update_index.pl @@ -5,6 +5,5 @@ use BackPAN::Index; BackPAN::Index->new({ update => 1, debug => 1, - cache_dir => 'index', releases_only_from_authors => 1, });