From b99336c5440cb50de9e8ca46833df72415deb723 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Thu, 14 Oct 1999 15:52:49 +0000 Subject: *** empty log message *** --- perl-install/install_any.pm | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'perl-install/install_any.pm') diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 96cd86be6..7d1929e03 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -247,3 +247,15 @@ sub searchAndMount4Upgrade { fs::mount_all([ grep { isExt2($_) || isSwap($_) } @{$o->{fstab}} ], $o->{prefix}); } } + +sub write_ldsoconf { + my ($prefix) = @_; + my $file = "$prefix/etc/ld.so.conf"; + + #- write a minimal ld.so.conf file unless it already exists. + unless (-s "$file") { + local *F; + open F, ">$file" or die "unable to open for writing $file"; + print F "/usr/lib\n"; + } +} -- cgit v1.2.1