aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-20 19:52:34 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-20 19:52:34 +0000
commit238a06bbb96f3aed0ae71b736eb9f807325a6914 (patch)
tree6ccde4779744f79ddc2b990157403d30de707932
parent27cc3d5467a0112698c742bfb5e1ac0a0279f031 (diff)
downloadrpmdrake-238a06bbb96f3aed0ae71b736eb9f807325a6914.tar
rpmdrake-238a06bbb96f3aed0ae71b736eb9f807325a6914.tar.gz
rpmdrake-238a06bbb96f3aed0ae71b736eb9f807325a6914.tar.bz2
rpmdrake-238a06bbb96f3aed0ae71b736eb9f807325a6914.tar.xz
rpmdrake-238a06bbb96f3aed0ae71b736eb9f807325a6914.zip
(get_pkgs) tag backports packages as such so that we can check their
provenance very fast (eg: in node_state())
-rw-r--r--Rpmdrake/pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 9e7f719a..4ed0d497 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -541,7 +541,7 @@ sub get_pkgs {
$pkg->flag_upgrade or next;
my $name = urpm_name($pkg);
push @$backports, $name;
- $all_pkgs{$name} = { pkg => $pkg };
+ $all_pkgs{$name} = { pkg => $pkg, is_backport => 1 };
}
}
my @updates = @requested;