summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-20 12:35:25 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-20 12:35:25 +0000
commit08da28d0074a50a5a83563f9cfd4719a8e8cd854 (patch)
tree7ff86fa3695be1f676ebcd45760c2697246ca6ba /gurpmi2
parent28dd1e250b64de50317f963f77f63f537c77a651 (diff)
downloadurpmi-08da28d0074a50a5a83563f9cfd4719a8e8cd854.tar
urpmi-08da28d0074a50a5a83563f9cfd4719a8e8cd854.tar.gz
urpmi-08da28d0074a50a5a83563f9cfd4719a8e8cd854.tar.bz2
urpmi-08da28d0074a50a5a83563f9cfd4719a8e8cd854.tar.xz
urpmi-08da28d0074a50a5a83563f9cfd4719a8e8cd854.zip
simplify copy_packages_of_removable_media() prototype
Diffstat (limited to 'gurpmi2')
-rwxr-xr-xgurpmi26
1 files changed, 2 insertions, 4 deletions
diff --git a/gurpmi2 b/gurpmi2
index 12fa0e69..b7840ea8 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -218,8 +218,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,
- ask_for_medium => sub {
+ $urpm->copy_packages_of_removable_media($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])
);
@@ -227,8 +226,7 @@ sub do_install_3 () {
$w->destroy;
exit 0 if $response eq 'cancel';
1;
- }
- );
+ });
$urpm->create_transaction(
$state,
split_level => $urpm->{options}{'split-level'},