summaryrefslogtreecommitdiffstats
path: root/urpm/main_loop.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/main_loop.pm')
-rw-r--r--urpm/main_loop.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm
index f9ac014e..9da3e3c6 100644
--- a/urpm/main_loop.pm
+++ b/urpm/main_loop.pm
@@ -54,7 +54,8 @@ my %sources = %$local_sources;
urpm::removable::try_mounting_non_cdroms($urpm, $list);
$callbacks->{pre_removable} and $callbacks->{pre_removable}->();
-urpm::removable::copy_packages_of_removable_media($urpm,
+require urpm::cdrom;
+urpm::cdrom::copy_packages_of_removable_media($urpm,
$list, \%sources,
$callbacks->{copy_removable});
$callbacks->{post_removable} and $callbacks->{post_removable}->();