invoke fvwm properly

This commit is contained in:
jkh 1999-07-07 09:47:41 +00:00
parent cd91d2db51
commit 7dafac1afc
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"