diff options
author | jkh <jkh@FreeBSD.org> | 1995-11-12 11:02:43 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-11-12 11:02:43 +0000 |
commit | fa84a4fb07e91e5fdc71dcd9417f40c8cc225f34 (patch) | |
tree | c3128bede584619ee0acb25c966cad2941a01465 /release | |
parent | 3b89ca83bf66dc04ef44bb3431437ac195a546d4 (diff) | |
download | FreeBSD-src-fa84a4fb07e91e5fdc71dcd9417f40c8cc225f34.zip FreeBSD-src-fa84a4fb07e91e5fdc71dcd9417f40c8cc225f34.tar.gz |
Initialize ld.so.hints if necessary.
Diffstat (limited to 'release')
-rw-r--r-- | release/sysinstall/package.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/release/sysinstall/package.c b/release/sysinstall/package.c index 80b772c..0af9df3 100644 --- a/release/sysinstall/package.c +++ b/release/sysinstall/package.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: package.c,v 1.24 1995/11/10 06:49:03 jkh Exp $ + * $Id: package.c,v 1.25 1995/11/10 15:10:07 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -70,6 +70,10 @@ package_extract(Device *dev, char *name) char *where; int fd, ret; + /* If necessary, initialize the ldconfig hints */ + if (!file_readable("/var/run/ld.so.hints")) + vsystem("ldconfig /usr/lib /usr/local/lib /usr/X11R6/lib"); + /* Check to make sure it's not already there */ if (!vsystem("pkg_info -e %s", name)) { msgDebug("package %s marked as already installed - return SUCCESS.\n", name); |