diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-09-18 08:31:13 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-09-18 08:31:13 +0000 |
commit | c03c4054aad5a3ac468c1a8b127eaa29947cf3c8 (patch) | |
tree | efc8dfaff39760cace86139e930f3ba8afc598a4 /perl-install/install_steps.pm | |
parent | a673125a1805af6ac5da47c9950d779a9e19dc11 (diff) | |
download | drakx-c03c4054aad5a3ac468c1a8b127eaa29947cf3c8.tar drakx-c03c4054aad5a3ac468c1a8b127eaa29947cf3c8.tar.gz drakx-c03c4054aad5a3ac468c1a8b127eaa29947cf3c8.tar.bz2 drakx-c03c4054aad5a3ac468c1a8b127eaa29947cf3c8.tar.xz drakx-c03c4054aad5a3ac468c1a8b127eaa29947cf3c8.zip |
sanitize ld.so.conf *before* calling ldconfig
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index bc8e52e74..da4edcf1b 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -383,6 +383,8 @@ sub installPackages($$) { #- complete REWORK, TODO and TOCHECK! my $time = time(); $ENV{DURING_INSTALL} = 1; pkgs::install($o->{prefix}, $o->{isUpgrade}, \@toInstall, $packages); + + any::writeandclean_ldsoconf($o->{prefix}); delete $ENV{DURING_INSTALL}; run_program::rooted_or_die($o->{prefix}, 'ldconfig') unless $::g_auto_install; log::l("Install took: ", formatTimeRaw(time() - $time)); @@ -434,8 +436,6 @@ Consoles 1,3,4,7 may also contain interesting information"; any::config_dvd($o->{prefix}, $have_devfsd); any::config_mtools($o->{prefix}); - any::writeandclean_ldsoconf($o->{prefix}); - #- make sure wins is disabled in /etc/nsswitch.conf #- else if eth0 is not existing, glibc segfaults. substInFile { s/\s*wins// if /^\s*hosts\s*:/ } "$o->{prefix}/etc/nsswitch.conf"; |