summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-31 14:49:12 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-31 14:49:12 +0000
commit70f2f9312e135de0347123f2a99bddcec1640865 (patch)
tree5853f47723939a8bbb992c693ae6d7ddb3e2ef1b /perl-install
parentb78a928bdfbe3ac2eed232eb74957f11d96db816 (diff)
downloaddrakx-70f2f9312e135de0347123f2a99bddcec1640865.tar
drakx-70f2f9312e135de0347123f2a99bddcec1640865.tar.gz
drakx-70f2f9312e135de0347123f2a99bddcec1640865.tar.bz2
drakx-70f2f9312e135de0347123f2a99bddcec1640865.tar.xz
drakx-70f2f9312e135de0347123f2a99bddcec1640865.zip
do "yelp-pregenerate -a" only once
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps.pm2
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);