aboutsummaryrefslogtreecommitdiffstats
path: root/urpmi-proxy.cgi
diff options
context:
space:
mode:
authorMaarten Vanraes <alien@mageia.org>2013-09-01 15:32:44 +0200
committerMaarten Vanraes <alien@mageia.org>2013-09-01 15:32:44 +0200
commit0da79b7899c0ac30ca22a02eecd758dab5ab580b (patch)
tree0d0be88b8019eb1657bffde0ccf8bdcaa9ac3d4e /urpmi-proxy.cgi
parentf1d863eadd8790d73ac563ff067e58c8581e432a (diff)
downloadurpmi-proxy-0da79b7899c0ac30ca22a02eecd758dab5ab580b.tar
urpmi-proxy-0da79b7899c0ac30ca22a02eecd758dab5ab580b.tar.gz
urpmi-proxy-0da79b7899c0ac30ca22a02eecd758dab5ab580b.tar.bz2
urpmi-proxy-0da79b7899c0ac30ca22a02eecd758dab5ab580b.tar.xz
urpmi-proxy-0da79b7899c0ac30ca22a02eecd758dab5ab580b.zip
have no merge files by default
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;