diff options
author | asami <asami@FreeBSD.org> | 1998-09-01 19:40:41 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1998-09-01 19:40:41 +0800 |
commit | 8547ba3dd0ed8688a10db6e336206bea055b2d43 (patch) | |
tree | 51792ed4813da0337005da8e8d7b3baf62c035c0 /japanese/ebnetd | |
parent | fbda2a9f7a0d697fad594fae4d9f0137f007484f (diff) | |
download | freebsd-ports-graphics-8547ba3dd0ed8688a10db6e336206bea055b2d43.tar.gz freebsd-ports-graphics-8547ba3dd0ed8688a10db6e336206bea055b2d43.tar.zst freebsd-ports-graphics-8547ba3dd0ed8688a10db6e336206bea055b2d43.zip |
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/ebnetd')
-rw-r--r-- | japanese/ebnetd/pkg-install | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/japanese/ebnetd/pkg-install b/japanese/ebnetd/pkg-install index ba2b1d2f716..0c299c679aa 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) |