From owner-freebsd-ports@FreeBSD.ORG Fri Aug 24 14:31:23 2012 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD78A106566C; Fri, 24 Aug 2012 14:31:23 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8EAE98FC0A; Fri, 24 Aug 2012 14:31:23 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7OEVNlH027112; Fri, 24 Aug 2012 14:31:23 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7OEVNWh027111; Fri, 24 Aug 2012 14:31:23 GMT (envelope-from bapt@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f Date: Fri, 24 Aug 2012 16:31:19 +0200 From: Baptiste Daroussin To: Alex Dupre Message-ID: <20120824143119.GA37867@ithaqua.etoilebsd.net> References: <97612B57-1255-4BB3-A6D3-FC74324C6D67@FreeBSD.org> <20120824081543.GB2998@ithaqua.etoilebsd.net> <50377253.103@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CE+1k2dSO48ffgeK" Content-Disposition: inline In-Reply-To: <50377253.103@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: ports@FreeBSD.org, Steve Wills , current@FreeBSD.org Subject: Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2012 14:31:23 -0000 --CE+1k2dSO48ffgeK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 24, 2012 at 02:23:47PM +0200, Alex Dupre wrote: > Baptiste Daroussin ha scritto: >=20 > > On of the thing I forgot and kan@ has added is a prompt for the user in= case it > > is going to bootstrap. >=20 > So, removing the prompt will make everybody happy? :-) >=20 > What about a prompt with timeout? "This is the first time pkg is run, > I'll start bootstrapping in 10 seconds. Press CTRL-C now to abort" >=20 Imho the best is to prompt only if not on a tty, otherwise fail, except if a environment variable is set. regards, Bapt --CE+1k2dSO48ffgeK Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlA3kDcACgkQ8kTtMUmk6EwRewCfSiR48mswCrUedcY98cxSFLG+ PIoAoK84J6VYIySduX82TQ9+4S9kd6Sy =oTbt -----END PGP SIGNATURE----- --CE+1k2dSO48ffgeK--