From 895879817a507b0610c66f203246a9d0a771380b Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Fri, 27 Oct 2000 15:21:09 +0000 Subject: remove the noising rpm output command line when loging installed rpm size (only usefull for live_update and just for conveniance). --- perl-install/install_any.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 2d458c1a5..5bb59e960 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -721,7 +721,9 @@ 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)) if -x "$o->{prefix}/bin/rpm"; + 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; -- cgit v1.2.1