summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--NEWS2
-rwxr-xr-xgurpmi21
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 6ade1335..a499dd1f 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,8 @@
o use hal to wait-for/mount cdroms:
you can now use more than one cdrom drive
o fix download progression using wget
+- gurpmi:
+ o exit immediately on success in automatic mode
- urpmf, urpmq:
o never display raw downloader output, otherwise output is very messy (#38125)
o do not try to download xml-info if it's not available (#38125)
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);