summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2004-02-03 19:44:16 +0000
committerFrancois Pons <fpons@mandriva.com>2004-02-03 19:44:16 +0000
commit5a6cc43f5664d83a5010b0c43949744b114804fe (patch)
tree89dfc20295ee9defcf57bbf82ec326168391060d
parentf495522af31b2bbf5b50d826ea3ac2afc8883012 (diff)
downloadurpmi-5a6cc43f5664d83a5010b0c43949744b114804fe.tar
urpmi-5a6cc43f5664d83a5010b0c43949744b114804fe.tar.gz
urpmi-5a6cc43f5664d83a5010b0c43949744b114804fe.tar.bz2
urpmi-5a6cc43f5664d83a5010b0c43949744b114804fe.tar.xz
urpmi-5a6cc43f5664d83a5010b0c43949744b114804fe.zip
fixed bug 6834.
-rw-r--r--urpm.pm5
1 files changed, 3 insertions, 2 deletions
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",