summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install_steps.pm9
1 files changed, 5 insertions, 4 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index dc102aa52..435c8836c 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -447,11 +447,12 @@ sub installPackages { #- complete REWORK, TODO and TOCHECK!
my @toInstall = pkgs::packagesToInstall($packages);
my $time = time();
- $ENV{DURING_INSTALL} = 1;
- pkgs::install($o->{isUpgrade}, \@toInstall, $packages, \&installCallback);
-
+ {
+ local $ENV{DURING_INSTALL} = 1;
+ pkgs::install($o->{isUpgrade}, \@toInstall, $packages, \&installCallback);
+ }
any::writeandclean_ldsoconf($o->{prefix});
- delete $ENV{DURING_INSTALL};
+
run_program::rooted_or_die($o->{prefix}, 'ldconfig');
eval {