From 7592fa645fd02a03732284455aed1cdecee7b337 Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Tue, 1 Sep 1998 11:40:41 +0000 Subject: Make sure we don't ask question during package build. While I'm here, fix typo in message. Submitted in part by: maintainer --- japanese/ebnetd/pkg-install | 3 ++- 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 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) diff --git a/japanese/ndtpd/pkg-install b/japanese/ndtpd/pkg-install index ba2b1d2f7161..0c299c679aa3 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) -- cgit v1.2.3