diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-09-18 17:57:51 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-09-18 17:57:51 +0000 |
commit | 30e000df6a07386f73f484d30dcfe3fc492cb2dd (patch) | |
tree | 0aeea59b1a0091051fed8fa68763f6e51a1b7d75 | |
parent | 336e4b45419d2f40b3e71e05ac3debf5e7607d25 (diff) | |
download | rpmdrake-30e000df6a07386f73f484d30dcfe3fc492cb2dd.tar rpmdrake-30e000df6a07386f73f484d30dcfe3fc492cb2dd.tar.gz rpmdrake-30e000df6a07386f73f484d30dcfe3fc492cb2dd.tar.bz2 rpmdrake-30e000df6a07386f73f484d30dcfe3fc492cb2dd.tar.xz rpmdrake-30e000df6a07386f73f484d30dcfe3fc492cb2dd.zip |
fix some callers of run_rpm() so that it knows the proper context
(fix only listing first line of changelog/files list)
-rwxr-xr-x | rpmdrake | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -425,8 +425,8 @@ sub extract_header { }; my $name = my_fullname($pkg->{pkg}); if ($pkg->{pkg}->flag_installed) { - add2hash($pkg, { files => [ split /\n/, chomp_(run_rpm(scalar("rpm -ql $name"))) || N("(none)") ], - changelog => $chg_prepro->(run_rpm(scalar("rpm -q --changelog $name"))) }); + add2hash($pkg, { files => [ split /\n/, chomp_(scalar(run_rpm("rpm -ql $name"))) || N("(none)") ], + changelog => $chg_prepro->(scalar(run_rpm("rpm -q --changelog $name"))) }); } else { my ($p, $medium) = ($pkg->{pkg}, pkg2medium($pkg->{pkg}, $urpm)); my $hdlist = $medium->{virtual} ? "$medium->{url}/$medium->{with_hdlist}" : "$urpm->{statedir}/$medium->{hdlist}"; |