From ab3ab1d2c07331358b51abfe403df7a9113aca45 Mon Sep 17 00:00:00 2001 From: jkh Date: Tue, 20 Jul 1999 21:06:18 +0000 Subject: XFree86 3.3.4 seems to require "XWINHOME" to be set for the setup tool to work (fnark). --- usr.sbin/sade/config.c | 3 ++- usr.sbin/sysinstall/config.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'usr.sbin') diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c index 9adb700..cb9efb5 100644 --- a/usr.sbin/sade/config.c +++ b/usr.sbin/sade/config.c @@ -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.137 1999/07/06 08:45:35 jkh Exp $ + * $Id: config.c,v 1.138 1999/07/07 09:47:41 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -549,6 +549,7 @@ configXSetup(dialogMenuItem *self) char *config, *execfile, *style; char *moused; + setenv("XWINHOME", "/usr/X11R6", 1); tryagain: dialog_clear_norefresh(); variable_unset(VAR_DESKSTYLE); diff --git a/usr.sbin/sysinstall/config.c b/usr.sbin/sysinstall/config.c index 9adb700..cb9efb5 100644 --- a/usr.sbin/sysinstall/config.c +++ b/usr.sbin/sysinstall/config.c @@ -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.137 1999/07/06 08:45:35 jkh Exp $ + * $Id: config.c,v 1.138 1999/07/07 09:47:41 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -549,6 +549,7 @@ configXSetup(dialogMenuItem *self) char *config, *execfile, *style; char *moused; + setenv("XWINHOME", "/usr/X11R6", 1); tryagain: dialog_clear_norefresh(); variable_unset(VAR_DESKSTYLE); -- cgit v1.1