summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-26 18:58:49 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-26 18:58:49 +0000
commit137adff6387ef4281269d535cd9ee593d720a212 (patch)
tree504e2fbccd5f6feb4d147f5eb3ecde77c5d3fe8e /perl-install/install_any.pm
parentf263756d54a52b6618a9303df3400bec943b1272 (diff)
downloaddrakx-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/install_any.pm')
-rw-r--r--perl-install/install_any.pm2
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 {