deal with a.out ldconfig paths also.
This commit is contained in:
parent
cce730f19b
commit
09e40d8945
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: config.c,v 1.134 1999/05/15 14:34:20 jkh Exp $
|
||||
* $Id: config.c,v 1.135 1999/05/15 15:05:08 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -552,9 +552,11 @@ configXSetup(dialogMenuItem *self)
|
||||
}
|
||||
|
||||
if (file_readable("/var/run/ld.so.hints"))
|
||||
systemExecute("/sbin/ldconfig -m /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat");
|
||||
vsystem("/sbin/ldconfig -m /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat");
|
||||
else
|
||||
systemExecute("/sbin/ldconfig /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat");
|
||||
vsystem("/sbin/ldconfig /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat");
|
||||
vsystem("/sbin/ldconfig -aout /usr/lib/compat/aout /usr/lib/aout /usr/X11R6/lib/aout /usr/local/lib/aout");
|
||||
vsystem("/sbin/ifconfig lo0 127.0.0.1");
|
||||
execfile = string_concat("/usr/X11R6/bin/", config);
|
||||
if (file_executable(execfile)) {
|
||||
dialog_clear_norefresh();
|
||||
|
@ -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.74 1999/05/14 14:57:59 jkh Exp $
|
||||
* $Id: package.c,v 1.75 1999/05/15 14:34:22 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -131,6 +131,7 @@ package_extract(Device *dev, char *name, Boolean depended)
|
||||
/* If necessary, initialize the ldconfig hints */
|
||||
if (!file_readable("/var/run/ld.so.hints"))
|
||||
vsystem("ldconfig /usr/lib /usr/local/lib /usr/X11R6/lib");
|
||||
vsystem("/sbin/ldconfig -aout /usr/lib/compat/aout /usr/lib/aout /usr/X11R6/lib/aout /usr/local/lib/aout");
|
||||
|
||||
/* Be initially optimistic */
|
||||
ret = DITEM_SUCCESS | DITEM_RESTORE;
|
||||
|
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: config.c,v 1.134 1999/05/15 14:34:20 jkh Exp $
|
||||
* $Id: config.c,v 1.135 1999/05/15 15:05:08 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -552,9 +552,11 @@ configXSetup(dialogMenuItem *self)
|
||||
}
|
||||
|
||||
if (file_readable("/var/run/ld.so.hints"))
|
||||
systemExecute("/sbin/ldconfig -m /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat");
|
||||
vsystem("/sbin/ldconfig -m /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat");
|
||||
else
|
||||
systemExecute("/sbin/ldconfig /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat");
|
||||
vsystem("/sbin/ldconfig /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat");
|
||||
vsystem("/sbin/ldconfig -aout /usr/lib/compat/aout /usr/lib/aout /usr/X11R6/lib/aout /usr/local/lib/aout");
|
||||
vsystem("/sbin/ifconfig lo0 127.0.0.1");
|
||||
execfile = string_concat("/usr/X11R6/bin/", config);
|
||||
if (file_executable(execfile)) {
|
||||
dialog_clear_norefresh();
|
||||
|
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: config.c,v 1.134 1999/05/15 14:34:20 jkh Exp $
|
||||
* $Id: config.c,v 1.135 1999/05/15 15:05:08 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -552,9 +552,11 @@ configXSetup(dialogMenuItem *self)
|
||||
}
|
||||
|
||||
if (file_readable("/var/run/ld.so.hints"))
|
||||
systemExecute("/sbin/ldconfig -m /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat");
|
||||
vsystem("/sbin/ldconfig -m /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat");
|
||||
else
|
||||
systemExecute("/sbin/ldconfig /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat");
|
||||
vsystem("/sbin/ldconfig /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat");
|
||||
vsystem("/sbin/ldconfig -aout /usr/lib/compat/aout /usr/lib/aout /usr/X11R6/lib/aout /usr/local/lib/aout");
|
||||
vsystem("/sbin/ifconfig lo0 127.0.0.1");
|
||||
execfile = string_concat("/usr/X11R6/bin/", config);
|
||||
if (file_executable(execfile)) {
|
||||
dialog_clear_norefresh();
|
||||
|
@ -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.74 1999/05/14 14:57:59 jkh Exp $
|
||||
* $Id: package.c,v 1.75 1999/05/15 14:34:22 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -131,6 +131,7 @@ package_extract(Device *dev, char *name, Boolean depended)
|
||||
/* If necessary, initialize the ldconfig hints */
|
||||
if (!file_readable("/var/run/ld.so.hints"))
|
||||
vsystem("ldconfig /usr/lib /usr/local/lib /usr/X11R6/lib");
|
||||
vsystem("/sbin/ldconfig -aout /usr/lib/compat/aout /usr/lib/aout /usr/X11R6/lib/aout /usr/local/lib/aout");
|
||||
|
||||
/* Be initially optimistic */
|
||||
ret = DITEM_SUCCESS | DITEM_RESTORE;
|
||||
|
Loading…
Reference in New Issue
Block a user