From 238a06bbb96f3aed0ae71b736eb9f807325a6914 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 20 Mar 2012 19:52:34 +0000 Subject: (get_pkgs) tag backports packages as such so that we can check their provenance very fast (eg: in node_state()) --- Rpmdrake/pkg.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Rpmdrake') 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; -- cgit v1.2.1