summaryrefslogtreecommitdiffstats
path: root/gurpmi2
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 /gurpmi2
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 'gurpmi2')
-rwxr-xr-xgurpmi24
1 files changed, 2 insertions, 2 deletions
diff --git a/gurpmi2 b/gurpmi2
index 0fe865b1..7a8172e5 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -220,7 +220,7 @@ sub do_install_3 () {
$progressbar->set_size_request(300, -1);
$vbox->pack_start($progressbar, 0, 0, 0);
change_mainw($vbox);
- $urpm->copy_packages_of_removable_media($list, \%sources, sub {
+ urpm::removable::copy_packages_of_removable_media($urpm, $list, \%sources, sub {
my $w = Gtk2::MessageDialog->new($mainw, [qw(modal destroy-with-parent)], 'warning', 'ok-cancel',
N("Please insert the medium named \"%s\" on device [%s]", $_[0], $_[1])
);
@@ -336,5 +336,5 @@ sub do_install_3 () {
}
urpm::sys::unlock_urpmi_db($urpm);
urpm::sys::unlock_rpm_db($urpm);
- $urpm->try_umounting_removables;
+ urpm::removable::try_umounting_removables($urpm);
}