invoke fvwm properly

This commit is contained in:
Jordan K. Hubbard 1999-07-07 09:47:41 +00:00
parent 27899b333b
commit ad4faaa504
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=48659
3 changed files with 9 additions and 9 deletions

View File

@ -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.136 1999/05/18 00:44:27 jkh Exp $
* $Id: config.c,v 1.137 1999/07/06 08:45:35 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -532,8 +532,8 @@ configXDesktop(dialogMenuItem *self)
}
else if (!strcmp(desk, "fvwm")) {
ret = package_add("fvwm");
if (DITEM_STATUS(ret) != DITEM_FAILURE && gotit("fvwm"))
write_root_xprofile("xterm &\nexec fvwm\n");
if (DITEM_STATUS(ret) != DITEM_FAILURE && gotit("fvwm2"))
write_root_xprofile("xterm &\nexec fvwm2\n");
}
if (DITEM_STATUS(ret) == DITEM_FAILURE)
msgConfirm("An error occurred while adding the package(s) required\n"

View File

@ -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.136 1999/05/18 00:44:27 jkh Exp $
* $Id: config.c,v 1.137 1999/07/06 08:45:35 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -532,8 +532,8 @@ configXDesktop(dialogMenuItem *self)
}
else if (!strcmp(desk, "fvwm")) {
ret = package_add("fvwm");
if (DITEM_STATUS(ret) != DITEM_FAILURE && gotit("fvwm"))
write_root_xprofile("xterm &\nexec fvwm\n");
if (DITEM_STATUS(ret) != DITEM_FAILURE && gotit("fvwm2"))
write_root_xprofile("xterm &\nexec fvwm2\n");
}
if (DITEM_STATUS(ret) == DITEM_FAILURE)
msgConfirm("An error occurred while adding the package(s) required\n"

View File

@ -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.136 1999/05/18 00:44:27 jkh Exp $
* $Id: config.c,v 1.137 1999/07/06 08:45:35 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -532,8 +532,8 @@ configXDesktop(dialogMenuItem *self)
}
else if (!strcmp(desk, "fvwm")) {
ret = package_add("fvwm");
if (DITEM_STATUS(ret) != DITEM_FAILURE && gotit("fvwm"))
write_root_xprofile("xterm &\nexec fvwm\n");
if (DITEM_STATUS(ret) != DITEM_FAILURE && gotit("fvwm2"))
write_root_xprofile("xterm &\nexec fvwm2\n");
}
if (DITEM_STATUS(ret) == DITEM_FAILURE)
msgConfirm("An error occurred while adding the package(s) required\n"