diff options
-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 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) |