diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-09-22 11:26:53 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-09-22 11:26:53 +0000 |
commit | 5ccb00978c203295c4bf726a9530c8d696a9f286 (patch) | |
tree | 91ffea3e43557824bdc775e8b122af2320004961 /perl-install/install_any.pm | |
parent | 8507f5529c1fa95cf068076001adc1dbdc91e4fc (diff) | |
download | drakx-5ccb00978c203295c4bf726a9530c8d696a9f286.tar drakx-5ccb00978c203295c4bf726a9530c8d696a9f286.tar.gz drakx-5ccb00978c203295c4bf726a9530c8d696a9f286.tar.bz2 drakx-5ccb00978c203295c4bf726a9530c8d696a9f286.tar.xz drakx-5ccb00978c203295c4bf726a9530c8d696a9f286.zip |
no_comment
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 86afd29b9..d992302a8 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -691,4 +691,10 @@ sub getHds { $ok; } +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)); +} + 1; |