aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-10-20 22:38:05 +0000
committerThierry Vignaud <tv@mandriva.org>2006-10-20 22:38:05 +0000
commit75330528ff3d5215e055e2490c734296bd859d57 (patch)
tree6e774ba988779c301e5c3348e23d5b83818248f4
parenta4ae73c965f26de6f7f975346249ea5a078ba943 (diff)
downloadrpmdrake-75330528ff3d5215e055e2490c734296bd859d57.tar
rpmdrake-75330528ff3d5215e055e2490c734296bd859d57.tar.gz
rpmdrake-75330528ff3d5215e055e2490c734296bd859d57.tar.bz2
rpmdrake-75330528ff3d5215e055e2490c734296bd859d57.tar.xz
rpmdrake-75330528ff3d5215e055e2490c734296bd859d57.zip
show non installed updates in "non installed" list too (#26656)
-rwxr-xr-xrpmdrake3
1 files changed, 1 insertions, 2 deletions
diff --git a/rpmdrake b/rpmdrake
index 8e3d9fb3..aaa59f84 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -1603,8 +1603,7 @@ Then, restart %s.", $rpmdrake::myname_update)), myexit(-1);
$pkg->flag_upgrade or next;
my $selected = 0;
- if (member(pkg2medium($pkg, $urpm)->{name}, @updates_media_names)) { # TODO/FIXME: for updates
- $pkg->flag_installed or next;
+ if (member(pkg2medium($pkg, $urpm)->{name}, @updates_media_names) && $pkg->flag_installed) { # TODO/FIXME: for updates
any { $pkg->id >= $_->{start} && $pkg->id <= $_->{end} } @update_medias or next;
if ($options{'pkg-sel'} || $options{'pkg-nosel'}) {
my $n = urpm_name($pkg);