summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2002-04-24 21:26:08 +0000
committerolgeni <olgeni@FreeBSD.org>2002-04-24 21:26:08 +0000
commita6ba41107017eadb4f460e1fe873518d86d55f9c (patch)
tree41aef63ce0d73f0cc7d327dc553b3a7d7cbc9523
parent33864aff58c57e3507d1727e93f5f1ac0fb4546a (diff)
downloadFreeBSD-ports-a6ba41107017eadb4f460e1fe873518d86d55f9c.zip
FreeBSD-ports-a6ba41107017eadb4f460e1fe873518d86d55f9c.tar.gz
Do not show the security warning dialog if BATCH is set (it causes
sysinstall to hang).
-rw-r--r--x11/gdm/pkg-install4
-rw-r--r--x11/gdm2/pkg-install4
2 files changed, 6 insertions, 2 deletions
diff --git a/x11/gdm/pkg-install b/x11/gdm/pkg-install
index 56e5a86..7634eca 100644
--- a/x11/gdm/pkg-install
+++ b/x11/gdm/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
diff --git a/x11/gdm2/pkg-install b/x11/gdm2/pkg-install
index 56e5a86..7634eca 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
OpenPOWER on IntegriCloud