diff options
author | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-04-20 18:27:48 +0000 |
---|---|---|
committer | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-04-20 18:27:48 +0000 |
commit | 1ec398cabb1c763dfef5e8f0f623b285d4482d70 (patch) | |
tree | 9979e73a8f921a6ae42c65a044a976e6fa3126ae /mail/postfix23/pkg-install | |
parent | 789a860dad0d654df0b1c45b9ef5a38c05fb9b84 (diff) | |
download | ports-1ec398cabb1c763dfef5e8f0f623b285d4482d70.tar.gz ports-1ec398cabb1c763dfef5e8f0f623b285d4482d70.zip |
Notes
Diffstat (limited to 'mail/postfix23/pkg-install')
-rw-r--r-- | mail/postfix23/pkg-install | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/postfix23/pkg-install b/mail/postfix23/pkg-install index 3ef249b885b1..8ecea1626d2b 100644 --- a/mail/postfix23/pkg-install +++ b/mail/postfix23/pkg-install @@ -4,13 +4,14 @@ # PKG_PREFIX=${PKG_PREFIX:=/usr/local} +BATCH=${BATCH:=no} ask() { local question default answer question=$1 default=$2 - if [ -z "${PACKAGE_BUILDING}" ]; then + if [ -z "${PACKAGE_BUILDING}" -a x${BATCH} = xno ]; then read -p "${question} [${default}]? " answer fi if [ x${answer} = x ]; then |