invoke fvwm properly
This commit is contained in:
parent
cd91d2db51
commit
7dafac1afc
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user