summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/package.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-11-04 12:56:33 +0000
committerjkh <jkh@FreeBSD.org>1996-11-04 12:56:33 +0000
commitdbb1ac22554806eb446ac5fab51f7631ac8e8908 (patch)
tree24ab5ef3a9e8c6c96497e329275f17beee6c20a4 /release/sysinstall/package.c
parent979bb1227dbe6b90013fa5373022cd25ad268c40 (diff)
downloadFreeBSD-src-dbb1ac22554806eb446ac5fab51f7631ac8e8908.zip
FreeBSD-src-dbb1ac22554806eb446ac5fab51f7631ac8e8908.tar.gz
Use macros for package names so it's easier to update them in one
place (sysinstall.h) when packages change rev. Change the way that the routing daemon is configured entirely, to placate Joerg. Also auto-load gated if it's specified, while we're at it.
Diffstat (limited to 'release/sysinstall/package.c')
-rw-r--r--release/sysinstall/package.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/release/sysinstall/package.c b/release/sysinstall/package.c
index c85f444..5d2cfd2 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.47 1996/10/06 03:18:55 jkh Exp $
+ * $Id: package.c,v 1.48 1996/10/12 19:30:26 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -87,14 +87,14 @@ package_extract(Device *dev, char *name, Boolean depended)
char path[511];
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 (package_exists(name))
return DITEM_SUCCESS;
+ /* If necessary, initialize the ldconfig hints */
+ if (!file_readable("/var/run/ld.so.hints"))
+ vsystem("ldconfig /usr/lib /usr/local/lib /usr/X11R6/lib");
+
if (!dev->init(dev)) {
msgConfirm("Unable to initialize media type for package extract.");
return DITEM_FAILURE;
OpenPOWER on IntegriCloud