diff options
author | Francois Pons <fpons@mandriva.com> | 1999-10-14 15:52:49 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 1999-10-14 15:52:49 +0000 |
commit | b99336c5440cb50de9e8ca46833df72415deb723 (patch) | |
tree | 488b89ca8ebdbdcb86c4ded06d7e6de766fbf75c /perl-install/install_any.pm | |
parent | d0c9225cfba0d80b3a3652db6376b8474ede0750 (diff) | |
download | drakx-backup-do-not-use-b99336c5440cb50de9e8ca46833df72415deb723.tar drakx-backup-do-not-use-b99336c5440cb50de9e8ca46833df72415deb723.tar.gz drakx-backup-do-not-use-b99336c5440cb50de9e8ca46833df72415deb723.tar.bz2 drakx-backup-do-not-use-b99336c5440cb50de9e8ca46833df72415deb723.tar.xz drakx-backup-do-not-use-b99336c5440cb50de9e8ca46833df72415deb723.zip |
*** empty log message ***
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 12 |
1 files changed, 12 insertions, 0 deletions
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"; + } +} |