summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-03 15:08:14 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-03 15:08:14 +0000
commit05ca1f54f8aea97462a1265f3d151a792b838296 (patch)
tree62560e89696ecbe7e40e412d343740bdc8230245 /gurpmi2
parenta9a461c295a866f3b3dfe7daca710f36f8a2aff2 (diff)
downloadurpmi-05ca1f54f8aea97462a1265f3d151a792b838296.tar
urpmi-05ca1f54f8aea97462a1265f3d151a792b838296.tar.gz
urpmi-05ca1f54f8aea97462a1265f3d151a792b838296.tar.bz2
urpmi-05ca1f54f8aea97462a1265f3d151a792b838296.tar.xz
urpmi-05ca1f54f8aea97462a1265f3d151a792b838296.zip
(do_install_3) make completed() callback return instead of waiting
while displaying a success message in automatic mode
Diffstat (limited to 'gurpmi2')
-rwxr-xr-xgurpmi21
1 files changed, 1 insertions, 0 deletions
diff --git a/gurpmi2 b/gurpmi2
index d677170d..db0bdea1 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -283,6 +283,7 @@ sub do_install_3 () {
urpm::removable::try_umounting_removables($urpm);
$vbox = Gtk2::VBox->new(0, 5);
$progress_label = Gtk2::Label->new('-');
+ exit 0 if $gurpmi::options{auto};
my $sw = create_scrolled_window($progress_label);
$sw->set_size_request(500, 200);
$vbox->pack_start($sw, 1, 1, 0);