diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-01-31 14:49:12 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-01-31 14:49:12 +0000 |
commit | 70f2f9312e135de0347123f2a99bddcec1640865 (patch) | |
tree | 5853f47723939a8bbb992c693ae6d7ddb3e2ef1b | |
parent | b78a928bdfbe3ac2eed232eb74957f11d96db816 (diff) | |
download | drakx-70f2f9312e135de0347123f2a99bddcec1640865.tar drakx-70f2f9312e135de0347123f2a99bddcec1640865.tar.gz drakx-70f2f9312e135de0347123f2a99bddcec1640865.tar.bz2 drakx-70f2f9312e135de0347123f2a99bddcec1640865.tar.xz drakx-70f2f9312e135de0347123f2a99bddcec1640865.zip |
do "yelp-pregenerate -a" only once
-rw-r--r-- | perl-install/install_steps.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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); |