diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-03-20 19:52:34 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-03-20 19:52:34 +0000 |
commit | 238a06bbb96f3aed0ae71b736eb9f807325a6914 (patch) | |
tree | 6ccde4779744f79ddc2b990157403d30de707932 /Rpmdrake/pkg.pm | |
parent | 27cc3d5467a0112698c742bfb5e1ac0a0279f031 (diff) | |
download | rpmdrake-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())
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rw-r--r-- | Rpmdrake/pkg.pm | 2 |
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; |