Date: Wed, 13 Apr 2005 13:45:28 +0300 From: Vasil Dimov <vd@datamax.bg> To: roam@freebsd.org, freebsd-ports-bugs@freebsd.org, FreeBSD-gnats-submit@FreeBSD.org, lsjoberg@aland.net Subject: Re: ports/67762: portupgrade of stunnel asks for input even when run with BATCH=1 Message-ID: <20050413104528.GA10410@sinanica.bg.datamax> In-Reply-To: <200406091753.i59HrbAN094410@www.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 @@ =20 question=3D$1 default=3D$2 - if [ -z "${PACKAGE_BUILDING}" ]; then + if [ -z "${PACKAGE_BUILDING}" -a -z "${BATCH}" ]; then read -p "${question} [${default}]? " answer fi if [ x${answer} =3D x ]; then http://www.freebsd.org/cgi/query-pr.cgi?pr=3D67762 --bg08WKrSYDhXBjb5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFCXPhIFw6SP/bBpCARAt+mAJ9cZNIvoehJEgY1As7LGdaAfHSw0QCePa5I yBtQFLFHp2N7ycCkMtl3UQQ= =EEgh -----END PGP SIGNATURE----- --bg08WKrSYDhXBjb5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050413104528.GA10410>