summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-07-20 21:06:18 +0000
committerjkh <jkh@FreeBSD.org>1999-07-20 21:06:18 +0000
commitab3ab1d2c07331358b51abfe403df7a9113aca45 (patch)
tree88765c0d8a2434e044b79feaad9f0713f5092fd1 /usr.sbin
parentb8252d249602a96ba07019bf65cb66410782c4f8 (diff)
downloadFreeBSD-src-ab3ab1d2c07331358b51abfe403df7a9113aca45.zip
FreeBSD-src-ab3ab1d2c07331358b51abfe403df7a9113aca45.tar.gz
XFree86 3.3.4 seems to require "XWINHOME" to be set for the setup tool
to work (fnark).
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/sade/config.c3
-rw-r--r--usr.sbin/sysinstall/config.c3
2 files changed, 4 insertions, 2 deletions
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);
OpenPOWER on IntegriCloud