diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-09-23 23:30:54 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-09-23 23:30:54 +0000 |
commit | 041bce7f1ab685a4290865e4eb2c2f5d2aaac285 (patch) | |
tree | d7305d5a8fb789cffc0c4795cc3ff7eff2b8585f /perl-install/install_any.pm | |
parent | 61b38e21c24cb2537b7105f5867745d0a569ec6f (diff) | |
download | drakx-backup-do-not-use-041bce7f1ab685a4290865e4eb2c2f5d2aaac285.tar drakx-backup-do-not-use-041bce7f1ab685a4290865e4eb2c2f5d2aaac285.tar.gz drakx-backup-do-not-use-041bce7f1ab685a4290865e4eb2c2f5d2aaac285.tar.bz2 drakx-backup-do-not-use-041bce7f1ab685a4290865e4eb2c2f5d2aaac285.tar.xz drakx-backup-do-not-use-041bce7f1ab685a4290865e4eb2c2f5d2aaac285.zip |
no_comment
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index d992302a8..7a6814d03 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -253,7 +253,7 @@ sub getAvailableSpace_mounted { my ($prefix) = @_; my $dir = -d "$prefix/usr" ? "$prefix/usr" : "$prefix"; my (undef, $free) = common::df($dir) or return; - log::l("getAvailableSpace_mounted $free"); + log::l("getAvailableSpace_mounted $free KB"); $free * 1024 || 1; } sub getAvailableSpace_raw { @@ -694,7 +694,7 @@ sub getHds { sub log_sizes { my ($o) = @_; my @df = common::df($o->{prefix}); - log::l(sprintf "Installed: %dMB(df), %dMB(rpm)", ($df[0] - $df[1]) / 1024, sum(`rpm --root $o->{prefix} -qa --queryformat "%{size}\n"`) / sqr(1024)); + log::l(sprintf "Installed: %dMB(df), %dMB(rpm)", ($df[0] - $df[1]) / 1024, sum(`rpm --root $o->{prefix} -qa --queryformat "%{size}\n"`) / sqr(1024)) if -x "$o->{prefix}/bin/rpm"; } 1; |