summaryrefslogtreecommitdiff
path: root/japanese/ebnetd/pkg-install
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-09-01 11:40:41 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-09-01 11:40:41 +0000
commit7592fa645fd02a03732284455aed1cdecee7b337 (patch)
treeccff3ad9e4c45764d353eebc4d3fc4265415de22 /japanese/ebnetd/pkg-install
parentadd LIB_DEPENDS of ImageMagick (diff)
Make sure we don't ask question during package build. While I'm here,
fix typo in message. Submitted in part by: maintainer
Notes
Notes: svn path=/head/; revision=12981
Diffstat (limited to 'japanese/ebnetd/pkg-install')
-rw-r--r--japanese/ebnetd/pkg-install3
1 files changed, 2 insertions, 1 deletions
diff --git a/japanese/ebnetd/pkg-install b/japanese/ebnetd/pkg-install
index ba2b1d2f7161..0c299c679aa3 100644
--- a/japanese/ebnetd/pkg-install
+++ b/japanese/ebnetd/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)