summaryrefslogtreecommitdiffstats
path: root/gurpmi2
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 /gurpmi2
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
Diffstat (limited to 'gurpmi2')
-rwxr-xr-xgurpmi21
1 files changed, 1 insertions, 0 deletions
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)