diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-07-26 18:58:49 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-07-26 18:58:49 +0000 |
commit | 137adff6387ef4281269d535cd9ee593d720a212 (patch) | |
tree | 504e2fbccd5f6feb4d147f5eb3ecde77c5d3fe8e /perl-install | |
parent | f263756d54a52b6618a9303df3400bec943b1272 (diff) | |
download | drakx-137adff6387ef4281269d535cd9ee593d720a212.tar drakx-137adff6387ef4281269d535cd9ee593d720a212.tar.gz drakx-137adff6387ef4281269d535cd9ee593d720a212.tar.bz2 drakx-137adff6387ef4281269d535cd9ee593d720a212.tar.xz drakx-137adff6387ef4281269d535cd9ee593d720a212.zip |
use run_program::rooted_get_stdout
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_any.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index ea78b14aa..34d4e9b0c 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -1050,7 +1050,7 @@ sub log_sizes { my @df = MDK::Common::System::df($o->{prefix}); log::l(sprintf "Installed: %s(df), %s(rpm)", formatXiB($df[0] - $df[1], 1024), - formatXiB(sum(`$ENV{LD_LOADER} rpm --root $o->{prefix}/ -qa --queryformat "%{size}\n"`))) if -x "$o->{prefix}/bin/rpm"; + formatXiB(sum(run_program::rooted_get_stdout($o->{prefix}, 'rpm', '-qa', '--queryformat', '%{size}\n')))) if -x "$o->{prefix}/bin/rpm"; } sub copy_advertising { |