summaryrefslogtreecommitdiff
path: root/x11/gdm2
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2002-04-24 21:26:08 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2002-04-24 21:26:08 +0000
commit59699d3026ccaa402b47b7f52723e27a3e014e0f (patch)
treeed87216a10eb31a7449460694a9f81419740ae1b /x11/gdm2
parentUpdate to 4198 (diff)
Do not show the security warning dialog if BATCH is set (it causes
sysinstall to hang).
Notes
Notes: svn path=/head/; revision=58077
Diffstat (limited to 'x11/gdm2')
-rw-r--r--x11/gdm2/pkg-install4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11/gdm2/pkg-install b/x11/gdm2/pkg-install
index 56e5a86af3eb..7634ecafb000 100644
--- a/x11/gdm2/pkg-install
+++ b/x11/gdm2/pkg-install
@@ -37,4 +37,6 @@ if [ "$2" = "POST-INSTALL" ]; then
exit 0
fi
-/usr/bin/dialog --yesno "GDM may contain vulnerabilities leading local root compromise, and it is reported widely with various security sites and groups. It is not recommended that this port be installed in public environment. Do you wish to accept the security risk and build GDM anyway?" 10 60 || /usr/bin/false
+if [ -z "${BATCH}" ]; then
+ /usr/bin/dialog --yesno "GDM may contain vulnerabilities leading local root compromise, and it is reported widely with various security sites and groups. It is not recommended that this port be installed in public environment. Do you wish to accept the security risk and build GDM anyway?" 10 60 || /usr/bin/false
+fi