aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-14 14:29:30 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-14 14:29:30 +0000
commitf0eae9ee8e20c768cfbe6108eb3d3c869d28ac29 (patch)
tree593e6660cd9e06f094cf2efbb22ad4fdb73bbece /Rpmdrake/gui.pm
parent3b925123b301ac9c3f497186495d4ceb91859b28 (diff)
downloadrpmdrake-f0eae9ee8e20c768cfbe6108eb3d3c869d28ac29.tar
rpmdrake-f0eae9ee8e20c768cfbe6108eb3d3c869d28ac29.tar.gz
rpmdrake-f0eae9ee8e20c768cfbe6108eb3d3c869d28ac29.tar.bz2
rpmdrake-f0eae9ee8e20c768cfbe6108eb3d3c869d28ac29.tar.xz
rpmdrake-f0eae9ee8e20c768cfbe6108eb3d3c869d28ac29.zip
only list priority upgrades if there're
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 4a457654..4ab91ecc 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -496,7 +496,7 @@ sub pkgs_provider {
all_updates => sub {
@filtered_pkgs = @{$h->{updates}};
# potential "updates" from media not tagged as updates:
- if (!$options{pure_updates}) {
+ if (!$options{pure_updates} && !$Rpmdrake::pkg::need_restart) {
push @filtered_pkgs, grep { is_updatable($_) } @{$h->{installable}};
}
},