mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 15:44:04 +01:00
invoke fvwm properly
This commit is contained in:
parent
27899b333b
commit
ad4faaa504
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=48659
@ -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