summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
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);