summaryrefslogtreecommitdiffstats
path: root/urpmi
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-21 18:10:03 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-21 18:10:03 +0000
commit106088ec7089a961767fb19d83e9dc09ae02e076 (patch)
tree52a07da482a9b22c66e3c7964dcc80a4af35dd81 /urpmi
parent3519a709524f3c8b4ea550838bcb863fe7e4a2c0 (diff)
downloadurpmi-106088ec7089a961767fb19d83e9dc09ae02e076.tar
urpmi-106088ec7089a961767fb19d83e9dc09ae02e076.tar.gz
urpmi-106088ec7089a961767fb19d83e9dc09ae02e076.tar.bz2
urpmi-106088ec7089a961767fb19d83e9dc09ae02e076.tar.xz
urpmi-106088ec7089a961767fb19d83e9dc09ae02e076.zip
create urpm::removable out of urpm.pm
Diffstat (limited to 'urpmi')
-rwxr-xr-xurpmi4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpmi b/urpmi
index 01da1045..0431874d 100755
--- a/urpmi
+++ b/urpmi
@@ -592,7 +592,7 @@ unless ($local_sources || $list) {
my %sources = %$local_sources;
my %error_sources;
-$urpm->copy_packages_of_removable_media(
+urpm::removable::copy_packages_of_removable_media($urpm,
$list, \%sources,
(!$urpm->{options}{auto} || $allow_medium_change) && sub {
my $msg = N("Please insert the medium named \"%s\" on device [%s]", $_[0], $_[1]);
@@ -826,7 +826,7 @@ unless ($env || $nolock) {
urpm::sys::unlock_rpm_db($urpm);
#- try to umount removable device which may have been mounted.
- $urpm->try_umounting_removables;
+ urpm::removable::try_umounting_removables($urpm);
}
#- restart urpmi if needed, keep command line for that.