mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
Don't require interaction on INSTALL while PACKAGE_BUILDING.
This commit is contained in:
parent
a016571190
commit
8c88934f82
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=20022
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user