summaryrefslogtreecommitdiffstats
path: root/urpm/cdrom.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-08 17:50:31 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-08 17:50:31 +0000
commit3b4566be852a5319345f960917a6881da44c2bd3 (patch)
tree3c9b166ca677584f88d23f4112a8d04e33420c80 /urpm/cdrom.pm
parent94d8015dad4fe9ad0d574bd142a67d39b05d218b (diff)
downloadurpmi-3b4566be852a5319345f960917a6881da44c2bd3.tar
urpmi-3b4566be852a5319345f960917a6881da44c2bd3.tar.gz
urpmi-3b4566be852a5319345f960917a6881da44c2bd3.tar.bz2
urpmi-3b4566be852a5319345f960917a6881da44c2bd3.tar.xz
urpmi-3b4566be852a5319345f960917a6881da44c2bd3.zip
- compute $blist->{list} first url instead of having it in $blist->{url}
- create file_or_synthesis_dir_from_blist() and use it
Diffstat (limited to 'urpm/cdrom.pm')
-rw-r--r--urpm/cdrom.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/cdrom.pm b/urpm/cdrom.pm
index c09c55a2..6fcfe9f7 100644
--- a/urpm/cdrom.pm
+++ b/urpm/cdrom.pm
@@ -21,7 +21,7 @@ sub _find_blist_url_matching {
# set it, then verify
$blist->{medium}{mntpoint} = $mntpoint;
- if (-r urpm::removable::file_or_synthesis_dir($blist->{medium}, $blist->{url})) {
+ if (-r urpm::removable::file_or_synthesis_dir_from_blist($blist)) {
$urpm->{log}("found cdrom $blist->{medium}{name} mounted in $mntpoint");
push @l, $blist;
} else {