diff options
author | Francois Pons <fpons@mandriva.com> | 2001-02-05 17:17:54 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-02-05 17:17:54 +0000 |
commit | 637db540946a8b27c5f5f8c735248bc1ebfa9831 (patch) | |
tree | 13082e92bb4663b55c00cca846af040001f88b58 /urpm.pm | |
parent | 5dd589c99385fa45a0b91cd540e9a2b47bee9be8 (diff) | |
download | urpmi-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.
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); } |