aboutsummaryrefslogtreecommitdiffstats
path: root/urpmi-proxy.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'urpmi-proxy.cgi')
-rwxr-xr-xurpmi-proxy.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpmi-proxy.cgi b/urpmi-proxy.cgi
index 38c57ba..bb1fec2 100755
--- a/urpmi-proxy.cgi
+++ b/urpmi-proxy.cgi
@@ -15,7 +15,7 @@ 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 $merge_files = 'media.cfg';
+my $merge_files = undef;
my $sources = [
'urpmi'
];
@@ -85,7 +85,7 @@ if (defined $check_updates_only_files) {
}
# check if request needs merging
-$merge = 1 if $filename =~ m/$merge_files/;
+$merge = 1 if defined $merge_files && $filename =~ m/$merge_files/;
$check_file = 1 if $merge;
print STDERR "check_file: $check_file\n" if $debug;