diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-11-21 18:10:03 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-11-21 18:10:03 +0000 |
commit | 106088ec7089a961767fb19d83e9dc09ae02e076 (patch) | |
tree | 52a07da482a9b22c66e3c7964dcc80a4af35dd81 /urpmi | |
parent | 3519a709524f3c8b4ea550838bcb863fe7e4a2c0 (diff) | |
download | urpmi-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-x | urpmi | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. |