aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-05-08 07:48:05 +0000
committerThierry Vignaud <tv@mandriva.org>2008-05-08 07:48:05 +0000
commit8f81239fc31a0e33790bb95b2c71b90c39ad888e (patch)
treec2c665c370547f59beea3e3bfe3e388d0dd1bdb9 /Rpmdrake/gui.pm
parenta373e22f942f4ee687fa787cf69b5f01cd778a1e (diff)
downloadrpmdrake-8f81239fc31a0e33790bb95b2c71b90c39ad888e.tar
rpmdrake-8f81239fc31a0e33790bb95b2c71b90c39ad888e.tar.gz
rpmdrake-8f81239fc31a0e33790bb95b2c71b90c39ad888e.tar.bz2
rpmdrake-8f81239fc31a0e33790bb95b2c71b90c39ad888e.tar.xz
rpmdrake-8f81239fc31a0e33790bb95b2c71b90c39ad888e.zip
warn only once about priority upgrades (#39737)
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index ebd3f2df..0a2458d1 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -482,7 +482,8 @@ sub ask_browse_tree_given_widgets_for_rpmdrake {
$urpm_obj->set_flag_skip(0);
}
- if ($Rpmdrake::pkg::need_restart) {
+ if ($Rpmdrake::pkg::need_restart && !$priority_up_alread_warned) {
+ $priority_up_alread_warned = 1;
interactive_msg(N("Warning"), '<b>' . N("Rpmdrake or one of its priority dependencies needs to be updated first. Rpmdrake will then restart.") . '</b>' . "\n\n");
}