summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/config.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-09-08 04:48:26 +0000
committerjkh <jkh@FreeBSD.org>1999-09-08 04:48:26 +0000
commit35f6a59e980baa7932fb06e0fdce36305afb046b (patch)
treea1f027f2ad434a82f06e8c64302d9bc1332137df /usr.sbin/sysinstall/config.c
parentfde57b038682db7ada3416bddf0e17923af2c919 (diff)
downloadFreeBSD-src-35f6a59e980baa7932fb06e0fdce36305afb046b.zip
FreeBSD-src-35f6a59e980baa7932fb06e0fdce36305afb046b.tar.gz
Provide another installation option for GNOME so we have the more "classic
GNOME" desktop that Debian does as an option.
Diffstat (limited to 'usr.sbin/sysinstall/config.c')
-rw-r--r--usr.sbin/sysinstall/config.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/usr.sbin/sysinstall/config.c b/usr.sbin/sysinstall/config.c
index 9eaa21d..8ae2226 100644
--- a/usr.sbin/sysinstall/config.c
+++ b/usr.sbin/sysinstall/config.c
@@ -514,6 +514,14 @@ configXDesktop(dialogMenuItem *self)
write_root_xprofile("gnome-session &\nexec afterstep");
}
}
+ else if (!strcmp(desk, "enlightenment")) {
+ ret = package_add("gnomecore");
+ if (DITEM_STATUS(ret) != DITEM_FAILURE && gotit("gnome-session")) {
+ ret = package_add("enlightenment");
+ if (DITEM_STATUS(ret) != DITEM_FAILURE && gotit("enlightenment"))
+ write_root_xprofile("gnome-session &\nexec enlightenment\n");
+ }
+ }
else if (!strcmp(desk, "afterstep")) {
ret = package_add("afterstep");
if (DITEM_STATUS(ret) != DITEM_FAILURE && gotit("afterstep"))
@@ -525,13 +533,8 @@ configXDesktop(dialogMenuItem *self)
write_root_xprofile("xterm &\n[ ! -d $HOME/GNUstep/Library/WindowMaker ] && /usr/X11R6/bin/wmaker.inst\nexec /usr/X11R6/bin/wmaker\n");
}
}
- else if (!strcmp(desk, "enlightenment")) {
- ret = package_add("enlightenment");
- if (DITEM_STATUS(ret) != DITEM_FAILURE && gotit("enlightenment"))
- write_root_xprofile("xterm &\nexec enlightenment\n");
- }
- else if (!strcmp(desk, "fvwm")) {
- ret = package_add("fvwm");
+ else if (!strcmp(desk, "fvwm2")) {
+ ret = package_add("fvwm2");
if (DITEM_STATUS(ret) != DITEM_FAILURE && gotit("fvwm2"))
write_root_xprofile("xterm &\nexec fvwm2\n");
}
OpenPOWER on IntegriCloud