summaryrefslogtreecommitdiffstats
path: root/japanese/ndtpd
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-09-01 11:40:41 +0000
committerasami <asami@FreeBSD.org>1998-09-01 11:40:41 +0000
commit8547ba3dd0ed8688a10db6e336206bea055b2d43 (patch)
tree51792ed4813da0337005da8e8d7b3baf62c035c0 /japanese/ndtpd
parentfbda2a9f7a0d697fad594fae4d9f0137f007484f (diff)
downloadFreeBSD-ports-8547ba3dd0ed8688a10db6e336206bea055b2d43.zip
FreeBSD-ports-8547ba3dd0ed8688a10db6e336206bea055b2d43.tar.gz
Make sure we don't ask question during package build. While I'm here,
fix typo in message. Submitted in part by: maintainer
Diffstat (limited to 'japanese/ndtpd')
-rw-r--r--japanese/ndtpd/pkg-install3
1 files changed, 2 insertions, 1 deletions
diff --git a/japanese/ndtpd/pkg-install b/japanese/ndtpd/pkg-install
index ba2b1d2..0c299c6 100644
--- a/japanese/ndtpd/pkg-install
+++ b/japanese/ndtpd/pkg-install
@@ -1,6 +1,7 @@
#! /bin/sh
[ "$2" = "POST-INSTALL" ] || exit 0
+[ "X${IS_INTERACTIVE}" != X ] || exit 0
#
# Make directories under /var.
@@ -51,7 +52,7 @@ fi
if [ -f ${PKG_PREFIX}/etc/rc.d/ndtpd.sh ] ; then
YESNO=YET
while [ "${YESNO}" = YET ] ; do
- echo -n "${PKG_PREFIX}/rc.d/ndtpd.sh already exists. May I overwrite it? (y/[n]) "
+ echo -n "${PKG_PREFIX}/etc/rc.d/ndtpd.sh already exists. May I overwrite it? (y/[n]) "
read LINE
case "X${LINE}" in
Xy|XY)
OpenPOWER on IntegriCloud