diff options
author | asami <asami@FreeBSD.org> | 1998-09-01 11:40:41 +0000 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1998-09-01 11:40:41 +0000 |
commit | 8547ba3dd0ed8688a10db6e336206bea055b2d43 (patch) | |
tree | 51792ed4813da0337005da8e8d7b3baf62c035c0 /japanese | |
parent | fbda2a9f7a0d697fad594fae4d9f0137f007484f (diff) | |
download | FreeBSD-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')
-rw-r--r-- | japanese/ebnetd/pkg-install | 3 | ||||
-rw-r--r-- | japanese/ndtpd/pkg-install | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/japanese/ebnetd/pkg-install b/japanese/ebnetd/pkg-install index ba2b1d2..0c299c6 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) 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) |