diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-14 14:29:30 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-14 14:29:30 +0000 |
commit | f0eae9ee8e20c768cfbe6108eb3d3c869d28ac29 (patch) | |
tree | 593e6660cd9e06f094cf2efbb22ad4fdb73bbece /Rpmdrake/pkg.pm | |
parent | 3b925123b301ac9c3f497186495d4ceb91859b28 (diff) | |
download | rpmdrake-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/pkg.pm')
-rw-r--r-- | Rpmdrake/pkg.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 7d414470..f9620792 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -440,7 +440,7 @@ sub get_pkgs { } } - if ($probe_only_for_updates && $need_restart) { + if ($need_restart) { @requested_strict = map { scalar $_->fullname } @{$urpm->{depslist}}[keys %{$state->{selected}}]; # drop non priority updates: undef @requested; @@ -448,7 +448,7 @@ sub get_pkgs { # list updates including skiped ones + their deps in MandrivaUpdate: - @requested = uniq(@requested, @requested_strict) if $probe_only_for_updates; + @requested = uniq(@requested, @requested_strict); $priority_state = $need_restart ? $state : undef; $priority_requested = $need_restart ? $requested : undef; |