From 70f2f9312e135de0347123f2a99bddcec1640865 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 31 Jan 2003 14:49:12 +0000 Subject: do "yelp-pregenerate -a" only once --- perl-install/install_steps.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index c3d00e8ce..fb0e5f0c5 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -369,7 +369,7 @@ sub installPackages($$) { #- complete REWORK, TODO and TOCHECK! $ENV{DURING_INSTALL} = 1; pkgs::install($o->{prefix}, $o->{isUpgrade}, \@toInstall, $packages); delete $ENV{DURING_INSTALL}; - run_program::rooted($o->{prefix}, 'yelp-pregenerate', '-a'); + run_program::rooted($o->{prefix}, 'yelp-pregenerate', '-a') if !$o->{'yelp-pregenerate'}++; #- do it only once run_program::rooted_or_die($o->{prefix}, 'ldconfig') unless $::g_auto_install; log::l("Install took: ", formatTimeRaw(time() - $time)); install_any::log_sizes($o); -- cgit v1.2.1