aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-02-20 11:42:54 +0000
committerThierry Vignaud <tv@mandriva.org>2007-02-20 11:42:54 +0000
commit0d4000656d0c159ef878d899d4f45de5c1c0a1ef (patch)
tree8c14e80889597434828fcbf05c57b96aceccd5ea /Rpmdrake
parentf002d52c1940395e85a698a22ea9124c3fa42541 (diff)
downloadrpmdrake-0d4000656d0c159ef878d899d4f45de5c1c0a1ef.tar
rpmdrake-0d4000656d0c159ef878d899d4f45de5c1c0a1ef.tar.gz
rpmdrake-0d4000656d0c159ef878d899d4f45de5c1c0a1ef.tar.bz2
rpmdrake-0d4000656d0c159ef878d899d4f45de5c1c0a1ef.tar.xz
rpmdrake-0d4000656d0c159ef878d899d4f45de5c1c0a1ef.zip
(get_pkgs) explain why we call pack_header()
Diffstat (limited to 'Rpmdrake')
-rwxr-xr-xRpmdrake/pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 1d1cca5a..2e9742b0 100755
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -337,7 +337,7 @@ Then, restart %s.", $rpmdrake::myname_update)), myexit(-1);
$installed_pkgs{$fullname}{base} = \$name;
$pkg->set_flag_base(1) if $$name == 1;
}
- $pkg->pack_header;
+ $pkg->pack_header; # needed in order to call methods on objects outside ->traverse
});
my $group;
if ($::options{parallel} && (($group) = @{$::options{parallel}})) {