From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Apr 13 10:44:55 2005 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA26516A4CF; Wed, 13 Apr 2005 10:44:55 +0000 (GMT) Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3616443D2D; Wed, 13 Apr 2005 10:44:55 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from sinanica.bg.datamax (sinanica.bg.datamax [192.168.10.1]) by jengal.datamax.bg (Postfix) with QMQP id A7D9787CB; Wed, 13 Apr 2005 13:44:53 +0300 (EEST) Received: (nullmailer pid 10480 invoked by uid 1004); Wed, 13 Apr 2005 10:45:28 -0000 Date: Wed, 13 Apr 2005 13:45:28 +0300 From: Vasil Dimov To: roam@freebsd.org, freebsd-ports-bugs@freebsd.org, FreeBSD-gnats-submit@FreeBSD.org, lsjoberg@aland.net Message-ID: <20050413104528.GA10410@sinanica.bg.datamax> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline In-Reply-To: <200406091753.i59HrbAN094410@www.freebsd.org> X-OS: FreeBSD 5.4-STABLE User-Agent: Mutt/1.5.9i Subject: Re: ports/67762: portupgrade of stunnel asks for input even when run with BATCH=1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vd@datamax.bg List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2005 10:44:55 -0000 --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--