From 5a6cc43f5664d83a5010b0c43949744b114804fe Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Tue, 3 Feb 2004 19:44:16 +0000 Subject: fixed bug 6834. --- urpm.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'urpm.pm') diff --git a/urpm.pm b/urpm.pm index 32af7de1..e3159904 100644 --- a/urpm.pm +++ b/urpm.pm @@ -1153,13 +1153,14 @@ sub remove_selected_media { sub probe_with_try_list { my ($suffix, $probe_with) = @_; - my @probe = ("../base/synthesis.hdlist$suffix.cz", "../synthesis.hdlist$suffix.cz", "synthesis.hdlist$suffix.cz"); + my @probe = ("synthesis.hdlist$suffix.cz", + "../base/synthesis.hdlist$suffix.cz", "../synthesis.hdlist$suffix.cz"); length($suffix) and unshift @probe, "synthesis.hdlist.cz"; length($suffix) or push @probe, ("../base/synthesis.hdlist1.cz", "../base/synthesis.hdlist2.cz", "../synthesis.hdlist1.cz", "../synthesis.hdlist2.cz", "synthesis.hdlist1.cz", "synthesis.hdlist2.cz"); - my @probe_hdlist = ("../base/hdlist$suffix.cz", "../hdlist$suffix.cz", "hdlist$suffix.cz"); + my @probe_hdlist = ("hdlist$suffix.cz", "../base/hdlist$suffix.cz", "../hdlist$suffix.cz"); length($suffix) and push @probe_hdlist, "hdlist.cz"; length($suffix) or push @probe_hdlist, ("../base/hdlist1.cz", "../base/hdlist2.cz", "../hdlist1.cz", "../hdlist2.cz", -- cgit v1.2.1