summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-09-01 09:09:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-09-01 09:09:57 +0000
commit81de1c90a50d4d9527787c636d36dfd92ee94da0 (patch)
tree152b116945bc72e4508481ad6f88559abcdfb5fb /perl-install/install_steps.pm
parent4a1208db1f60e51ff2b95dc13353469bb0793ee6 (diff)
downloaddrakx-81de1c90a50d4d9527787c636d36dfd92ee94da0.tar
drakx-81de1c90a50d4d9527787c636d36dfd92ee94da0.tar.gz
drakx-81de1c90a50d4d9527787c636d36dfd92ee94da0.tar.bz2
drakx-81de1c90a50d4d9527787c636d36dfd92ee94da0.tar.xz
drakx-81de1c90a50d4d9527787c636d36dfd92ee94da0.zip
cleanup
Diffstat (limited to 'perl-install/install_steps.pm')
-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 {