Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jan 2010 15:29:53 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r203032 - head/usr.sbin/sysinstall
Message-ID:  <201001261529.o0QFTru6029143@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Tue Jan 26 15:29:53 2010
New Revision: 203032
URL: http://svn.freebsd.org/changeset/base/203032

Log:
  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

Modified:
  head/usr.sbin/sysinstall/dist.c

Modified: head/usr.sbin/sysinstall/dist.c
==============================================================================
--- head/usr.sbin/sysinstall/dist.c	Tue Jan 26 15:28:00 2010	(r203031)
+++ head/usr.sbin/sysinstall/dist.c	Tue Jan 26 15:29:53 2010	(r203032)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001261529.o0QFTru6029143>