From a1187b7b3c7323036aa5c786e5bec8a6482fe40a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 22 Apr 2009 13:36:22 +0000 Subject: (need_restart) do not advise to restart in --auto mode --- NEWS | 3 +++ gurpmi2 | 1 + 2 files changed, 4 insertions(+) diff --git a/NEWS b/NEWS index 8d2176cc..fcfa6dd2 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +- gurpmi: + o do not advise to restart in --auto mode + Version 6.25.4 - 20 April 2009 - add NoDisplay=true to gurpmi.desktop diff --git a/gurpmi2 b/gurpmi2 index d60f5ef8..6c185b85 100755 --- a/gurpmi2 +++ b/gurpmi2 @@ -379,6 +379,7 @@ sub do_install_3 () { $mainw->set_focus($quit_button); }, need_restart => sub { + return if $gurpmi::options{auto}; my ($need_restart_formatted) = @_; my $w = Gtk2::MessageDialog->new($mainw, [qw(modal destroy-with-parent)], 'warning', 'ok', join("\n", values %$need_restart_formatted) -- cgit v1.2.1