mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-17 13:53:39 +00:00
Don't pop up the menu to select a documentation language for non-interactive
installs. Default to not installing any documentation in that case. MFC after: 1 week
This commit is contained in:
parent
0c61f21af5
commit
2e9f91310b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=203032
|
@ -775,6 +775,10 @@ distSetDoc(dialogMenuItem *self)
|
|||
{
|
||||
int i;
|
||||
|
||||
/* Assume no docs for non-interactive installs. */
|
||||
if (variable_get(VAR_NONINTERACTIVE))
|
||||
return DITEM_SUCCESS | DITEM_RESTORE;
|
||||
|
||||
dialog_clear_norefresh();
|
||||
if (!dmenuOpenSimple(&MenuDocInstall, FALSE))
|
||||
i = DITEM_FAILURE;
|
||||
|
|
Loading…
Reference in a new issue