summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-29 16:48:50 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-29 16:48:50 +0000
commit0032345eef218f3d803ff9bc9db0a76d5e0f9be1 (patch)
tree28e24c756027fe1e37202a5512e8d849a8333820 /urpm
parent1a0911331fb172b541c764904b5174afee1bf64b (diff)
downloadurpmi-0032345eef218f3d803ff9bc9db0a76d5e0f9be1.tar
urpmi-0032345eef218f3d803ff9bc9db0a76d5e0f9be1.tar.gz
urpmi-0032345eef218f3d803ff9bc9db0a76d5e0f9be1.tar.bz2
urpmi-0032345eef218f3d803ff9bc9db0a76d5e0f9be1.tar.xz
urpmi-0032345eef218f3d803ff9bc9db0a76d5e0f9be1.zip
require urpm::cdrom where needed
Diffstat (limited to 'urpm')
-rw-r--r--urpm/removable.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/removable.pm b/urpm/removable.pm
index 982b5b26..93bc4270 100644
--- a/urpm/removable.pm
+++ b/urpm/removable.pm
@@ -34,6 +34,7 @@ sub _try_mounting_medium {
my ($urpm, $medium, $o_url) = @_;
if (urpm::is_cdrom_url($medium->{url})) {
+ require urpm::cdrom;
urpm::cdrom::try_mounting_cdrom($urpm, [ { medium => $medium, url => $o_url } ]);
} else {
_try_mounting_local($urpm, $medium, $o_url);