From 8f3ce988b4f88ce427226702252c758c61d0274d Mon Sep 17 00:00:00 2001 From: Maarten Vanraes Date: Sun, 1 Sep 2013 15:43:36 +0200 Subject: change defaults to more general settings --- urpmi-proxy.cgi | 4 ++-- urpmi-proxy.conf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/urpmi-proxy.cgi b/urpmi-proxy.cgi index bb1fec2..26c7a49 100755 --- a/urpmi-proxy.cgi +++ b/urpmi-proxy.cgi @@ -13,8 +13,8 @@ my $config_file = '/etc/urpmi-proxy.conf'; my $cache_tmp_path = '/var/tmp/urpmi-proxy'; my $cache_path = '/var/cache/urpmi-proxy'; my $logfile = '/var/log/urpmi-proxy.log'; -my $check_updates_only_files = '(MD5SUM|descriptions)'; -my $check_no_updates_files; +my $check_updates_only_files = undef; +my $check_no_updates_files = '\.rpm$'; my $merge_files = undef; my $sources = [ 'urpmi' diff --git a/urpmi-proxy.conf b/urpmi-proxy.conf index ccb6bd3..5089313 100644 --- a/urpmi-proxy.conf +++ b/urpmi-proxy.conf @@ -37,10 +37,10 @@ # $cache_tmp_path = '/var/tmp/urpmi-proxy'; ## These files will always be checked for newer versions. -# $check_updates_only_files = '(MD5SUM|descriptions)$'; +# $check_updates_only_files = undef; ## These files will not be checked for newer versions if they exist. -# $check_no_updates_files = undef; +# $check_no_updates_files = '\.rpm$'; ## These files will be merged from every sources. # $merge_files = undef; -- cgit v1.2.1