From d6b6da9a28ddcbee6c31615d6a7df6a58abddee6 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 26 Feb 2008 22:46:43 +0000 Subject: there is no reason copy_packages_of_removable_media should mount non removable media --- urpm/main_loop.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'urpm/main_loop.pm') diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm index 506b2d94..73d53c61 100644 --- a/urpm/main_loop.pm +++ b/urpm/main_loop.pm @@ -51,6 +51,8 @@ unless ($local_sources || $list) { my %sources = %$local_sources; my %error_sources; +urpm::removable::try_mounting_non_removable($urpm); + $callbacks->{pre_removable} and $callbacks->{pre_removable}->(); urpm::removable::copy_packages_of_removable_media($urpm, $list, \%sources, -- cgit v1.2.1