aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-07-05 05:08:42 +0800
committersteve <steve@FreeBSD.org>1999-07-05 05:08:42 +0800
commit008f8d907a5caae96d4b752a14a7435a7d752b8c (patch)
tree6a1743a2c4d17277f5efb924b50c55cf152a8a58 /japanese
parent4bbf9c5d2c92ae2ee22bc619ef5ed8063eb0da20 (diff)
downloadfreebsd-ports-graphics-008f8d907a5caae96d4b752a14a7435a7d752b8c.tar.gz
freebsd-ports-graphics-008f8d907a5caae96d4b752a14a7435a7d752b8c.tar.zst
freebsd-ports-graphics-008f8d907a5caae96d4b752a14a7435a7d752b8c.zip
Don't require interaction on INSTALL while PACKAGE_BUILDING.
Diffstat (limited to 'japanese')
-rw-r--r--japanese/ebnetd/pkg-install16
-rw-r--r--japanese/ndtpd/pkg-install16
2 files changed, 24 insertions, 8 deletions
diff --git a/japanese/ebnetd/pkg-install b/japanese/ebnetd/pkg-install
index 0c299c679aa..615702a9215 100644
--- a/japanese/ebnetd/pkg-install
+++ b/japanese/ebnetd/pkg-install
@@ -18,8 +18,12 @@ sed -e 's/#.*//' -e 's/^/ /' -e 's/$/ /g' -e 's/ / /g' /etc/services \
if [ $? -ne 0 ] ; then
YESNO=YET
while [ "${YESNO}" = YET ] ; do
- echo -n "May I register the \`ndtp' service name to /etc/services? ([y]/n) "
- read LINE
+ if [ -z "${PACKAGE_BUILDING}" ]; then
+ echo -n "May I register the \`ndtp' service name to /etc/services? ([y]/n) "
+ read LINE
+ else
+ LINE=y
+ fi
case "X${LINE}" in
Xy|XY|X)
YESNO=YES
@@ -52,8 +56,12 @@ fi
if [ -f ${PKG_PREFIX}/etc/rc.d/ndtpd.sh ] ; then
YESNO=YET
while [ "${YESNO}" = YET ] ; do
- echo -n "${PKG_PREFIX}/etc/rc.d/ndtpd.sh already exists. May I overwrite it? (y/[n]) "
- read LINE
+ if [ -z "${PACKAGE_BUILDING}" ]; then
+ echo -n "${PKG_PREFIX}/etc/rc.d/ndtpd.sh already exists. May I overwrite it? (y/[n]) "
+ read LINE
+ else
+ LINE=y
+ fi
case "X${LINE}" in
Xy|XY)
YESNO=YES
diff --git a/japanese/ndtpd/pkg-install b/japanese/ndtpd/pkg-install
index 0c299c679aa..615702a9215 100644
--- a/japanese/ndtpd/pkg-install
+++ b/japanese/ndtpd/pkg-install
@@ -18,8 +18,12 @@ sed -e 's/#.*//' -e 's/^/ /' -e 's/$/ /g' -e 's/ / /g' /etc/services \
if [ $? -ne 0 ] ; then
YESNO=YET
while [ "${YESNO}" = YET ] ; do
- echo -n "May I register the \`ndtp' service name to /etc/services? ([y]/n) "
- read LINE
+ if [ -z "${PACKAGE_BUILDING}" ]; then
+ echo -n "May I register the \`ndtp' service name to /etc/services? ([y]/n) "
+ read LINE
+ else
+ LINE=y
+ fi
case "X${LINE}" in
Xy|XY|X)
YESNO=YES
@@ -52,8 +56,12 @@ fi
if [ -f ${PKG_PREFIX}/etc/rc.d/ndtpd.sh ] ; then
YESNO=YET
while [ "${YESNO}" = YET ] ; do
- echo -n "${PKG_PREFIX}/etc/rc.d/ndtpd.sh already exists. May I overwrite it? (y/[n]) "
- read LINE
+ if [ -z "${PACKAGE_BUILDING}" ]; then
+ echo -n "${PKG_PREFIX}/etc/rc.d/ndtpd.sh already exists. May I overwrite it? (y/[n]) "
+ read LINE
+ else
+ LINE=y
+ fi
case "X${LINE}" in
Xy|XY)
YESNO=YES