summaryrefslogtreecommitdiffstats
diff options
context:
space:
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);