From 81bb6bf339258e02428d8ca55b41a368aefb000a Mon Sep 17 00:00:00 2001 From: Steve Price Date: Tue, 22 Jun 1999 17:21:59 +0000 Subject: Don't require interaction on install while PACKAGE_BUILDING. --- www/squid/pkg-install | 2 +- www/squid22/pkg-install | 2 +- www/squid23/pkg-install | 2 +- www/squid24/pkg-install | 2 +- www/squid25/pkg-install | 2 +- www/squid26/pkg-install | 2 +- www/squid27/pkg-install | 2 +- www/squid30/pkg-install | 2 +- www/squid31/pkg-install | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/www/squid/pkg-install b/www/squid/pkg-install index f2088a460b3a..2b6052e5aa11 100644 --- a/www/squid/pkg-install +++ b/www/squid/pkg-install @@ -20,7 +20,7 @@ case $2 in echo " You'd certainly like to pay attention to the" echo " ACTUAL locations of cache \"spool\", logfiles, pidfile!" tput me - read skip + if [ -z "${PACKAGE_BUILDING}" ]; then read skip; fi chown root:wheel ${PREFIX:-/usr/local}/etc/squid/squid.conf* chmod 644 ${PREFIX:-/usr/local}/etc/squid/squid.conf* [ -f ${PREFIX:-/usr/local}/etc/squid/squid.conf ] || \ diff --git a/www/squid22/pkg-install b/www/squid22/pkg-install index f2088a460b3a..2b6052e5aa11 100644 --- a/www/squid22/pkg-install +++ b/www/squid22/pkg-install @@ -20,7 +20,7 @@ case $2 in echo " You'd certainly like to pay attention to the" echo " ACTUAL locations of cache \"spool\", logfiles, pidfile!" tput me - read skip + if [ -z "${PACKAGE_BUILDING}" ]; then read skip; fi chown root:wheel ${PREFIX:-/usr/local}/etc/squid/squid.conf* chmod 644 ${PREFIX:-/usr/local}/etc/squid/squid.conf* [ -f ${PREFIX:-/usr/local}/etc/squid/squid.conf ] || \ diff --git a/www/squid23/pkg-install b/www/squid23/pkg-install index f2088a460b3a..2b6052e5aa11 100644 --- a/www/squid23/pkg-install +++ b/www/squid23/pkg-install @@ -20,7 +20,7 @@ case $2 in echo " You'd certainly like to pay attention to the" echo " ACTUAL locations of cache \"spool\", logfiles, pidfile!" tput me - read skip + if [ -z "${PACKAGE_BUILDING}" ]; then read skip; fi chown root:wheel ${PREFIX:-/usr/local}/etc/squid/squid.conf* chmod 644 ${PREFIX:-/usr/local}/etc/squid/squid.conf* [ -f ${PREFIX:-/usr/local}/etc/squid/squid.conf ] || \ diff --git a/www/squid24/pkg-install b/www/squid24/pkg-install index f2088a460b3a..2b6052e5aa11 100644 --- a/www/squid24/pkg-install +++ b/www/squid24/pkg-install @@ -20,7 +20,7 @@ case $2 in echo " You'd certainly like to pay attention to the" echo " ACTUAL locations of cache \"spool\", logfiles, pidfile!" tput me - read skip + if [ -z "${PACKAGE_BUILDING}" ]; then read skip; fi chown root:wheel ${PREFIX:-/usr/local}/etc/squid/squid.conf* chmod 644 ${PREFIX:-/usr/local}/etc/squid/squid.conf* [ -f ${PREFIX:-/usr/local}/etc/squid/squid.conf ] || \ diff --git a/www/squid25/pkg-install b/www/squid25/pkg-install index f2088a460b3a..2b6052e5aa11 100644 --- a/www/squid25/pkg-install +++ b/www/squid25/pkg-install @@ -20,7 +20,7 @@ case $2 in echo " You'd certainly like to pay attention to the" echo " ACTUAL locations of cache \"spool\", logfiles, pidfile!" tput me - read skip + if [ -z "${PACKAGE_BUILDING}" ]; then read skip; fi chown root:wheel ${PREFIX:-/usr/local}/etc/squid/squid.conf* chmod 644 ${PREFIX:-/usr/local}/etc/squid/squid.conf* [ -f ${PREFIX:-/usr/local}/etc/squid/squid.conf ] || \ diff --git a/www/squid26/pkg-install b/www/squid26/pkg-install index f2088a460b3a..2b6052e5aa11 100644 --- a/www/squid26/pkg-install +++ b/www/squid26/pkg-install @@ -20,7 +20,7 @@ case $2 in echo " You'd certainly like to pay attention to the" echo " ACTUAL locations of cache \"spool\", logfiles, pidfile!" tput me - read skip + if [ -z "${PACKAGE_BUILDING}" ]; then read skip; fi chown root:wheel ${PREFIX:-/usr/local}/etc/squid/squid.conf* chmod 644 ${PREFIX:-/usr/local}/etc/squid/squid.conf* [ -f ${PREFIX:-/usr/local}/etc/squid/squid.conf ] || \ diff --git a/www/squid27/pkg-install b/www/squid27/pkg-install index f2088a460b3a..2b6052e5aa11 100644 --- a/www/squid27/pkg-install +++ b/www/squid27/pkg-install @@ -20,7 +20,7 @@ case $2 in echo " You'd certainly like to pay attention to the" echo " ACTUAL locations of cache \"spool\", logfiles, pidfile!" tput me - read skip + if [ -z "${PACKAGE_BUILDING}" ]; then read skip; fi chown root:wheel ${PREFIX:-/usr/local}/etc/squid/squid.conf* chmod 644 ${PREFIX:-/usr/local}/etc/squid/squid.conf* [ -f ${PREFIX:-/usr/local}/etc/squid/squid.conf ] || \ diff --git a/www/squid30/pkg-install b/www/squid30/pkg-install index f2088a460b3a..2b6052e5aa11 100644 --- a/www/squid30/pkg-install +++ b/www/squid30/pkg-install @@ -20,7 +20,7 @@ case $2 in echo " You'd certainly like to pay attention to the" echo " ACTUAL locations of cache \"spool\", logfiles, pidfile!" tput me - read skip + if [ -z "${PACKAGE_BUILDING}" ]; then read skip; fi chown root:wheel ${PREFIX:-/usr/local}/etc/squid/squid.conf* chmod 644 ${PREFIX:-/usr/local}/etc/squid/squid.conf* [ -f ${PREFIX:-/usr/local}/etc/squid/squid.conf ] || \ diff --git a/www/squid31/pkg-install b/www/squid31/pkg-install index f2088a460b3a..2b6052e5aa11 100644 --- a/www/squid31/pkg-install +++ b/www/squid31/pkg-install @@ -20,7 +20,7 @@ case $2 in echo " You'd certainly like to pay attention to the" echo " ACTUAL locations of cache \"spool\", logfiles, pidfile!" tput me - read skip + if [ -z "${PACKAGE_BUILDING}" ]; then read skip; fi chown root:wheel ${PREFIX:-/usr/local}/etc/squid/squid.conf* chmod 644 ${PREFIX:-/usr/local}/etc/squid/squid.conf* [ -f ${PREFIX:-/usr/local}/etc/squid/squid.conf ] || \ -- cgit v1.2.3