summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-04-22 13:36:22 +0000
committerThierry Vignaud <tv@mandriva.org>2009-04-22 13:36:22 +0000
commita1187b7b3c7323036aa5c786e5bec8a6482fe40a (patch)
treea2627a8bb3c6ee7fa9fbbb6326e658d872816778
parentb0d809001738876bb3a5660e38f3d2edb96c957d (diff)
downloadurpmi-a1187b7b3c7323036aa5c786e5bec8a6482fe40a.tar
urpmi-a1187b7b3c7323036aa5c786e5bec8a6482fe40a.tar.gz
urpmi-a1187b7b3c7323036aa5c786e5bec8a6482fe40a.tar.bz2
urpmi-a1187b7b3c7323036aa5c786e5bec8a6482fe40a.tar.xz
urpmi-a1187b7b3c7323036aa5c786e5bec8a6482fe40a.zip
(need_restart) do not advise to restart in --auto mode
-rw-r--r--NEWS3
-rwxr-xr-xgurpmi21
2 files changed, 4 insertions, 0 deletions
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)