summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-02-05 17:17:54 +0000
committerFrancois Pons <fpons@mandriva.com>2001-02-05 17:17:54 +0000
commit637db540946a8b27c5f5f8c735248bc1ebfa9831 (patch)
tree13082e92bb4663b55c00cca846af040001f88b58
parent5dd589c99385fa45a0b91cd540e9a2b47bee9be8 (diff)
downloadurpmi-637db540946a8b27c5f5f8c735248bc1ebfa9831.tar
urpmi-637db540946a8b27c5f5f8c735248bc1ebfa9831.tar.gz
urpmi-637db540946a8b27c5f5f8c735248bc1ebfa9831.tar.bz2
urpmi-637db540946a8b27c5f5f8c735248bc1ebfa9831.tar.xz
urpmi-637db540946a8b27c5f5f8c735248bc1ebfa9831.zip
fixed wrong autodetect of list file on update.
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 50f8f071..dfa782d0 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -193,7 +193,7 @@ sub probe_medium {
$medium->{ignore} = 1, $urpm->{error}("unable to find hdlist file for \"$medium->{name}\", medium ignored");
}
unless ($medium->{ignore} || $medium->{list}) {
- $medium->{list} = "list.$1";
+ $medium->{list} = "list.$medium->{name}";
-e "$urpm->{statedir}/$medium->{list}" or
$medium->{ignore} = 1, $urpm->{error}("unable to find list file for \"$medium->{name}\", medium ignored");
}