ports/67762: portupgrade of stunnel asks for input even when run with BATCH=1

Vasil Dimov vd at datamax.bg
Wed Apr 13 10:44:55 UTC 2005


Here is the simple fix for BATCH mode while deinstalling stunnel:

--- pkg-deinstall.orig	Wed Apr 13 13:19:57 2005
+++ pkg-deinstall	Wed Apr 13 13:31:18 2005
@@ -13,7 +13,7 @@
 
     question=$1
     default=$2
-    if [ -z "${PACKAGE_BUILDING}" ]; then
+    if [ -z "${PACKAGE_BUILDING}" -a -z "${BATCH}" ]; then
 	read -p "${question} [${default}]? " answer
     fi
     if [ x${answer} = x ]; then

http://www.freebsd.org/cgi/query-pr.cgi?pr=67762
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs/attachments/20050413/fb6521ca/attachment.sig>


More information about the freebsd-ports-bugs mailing list