Date: Fri, 24 Aug 2012 18:02:26 +0200 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Bryan Drewery <bryan@shatow.net> Cc: ports@FreeBSD.org, Steve Wills <swills@FreeBSD.org>, current@FreeBSD.org, Alex Dupre <ale@FreeBSD.org> Subject: Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap Message-ID: <20120824160226.GC37867@ithaqua.etoilebsd.net> In-Reply-To: <5037A2C6.4060200@shatow.net> References: <97612B57-1255-4BB3-A6D3-FC74324C6D67@FreeBSD.org> <20120824081543.GB2998@ithaqua.etoilebsd.net> <50377253.103@FreeBSD.org> <20120824143119.GA37867@ithaqua.etoilebsd.net> <5037A2C6.4060200@shatow.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--Pk6IbRAofICFmK5e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 24, 2012 at 10:50:30AM -0500, Bryan Drewery wrote: > On 8/24/2012 9:31 AM, Baptiste Daroussin wrote: > > On Fri, Aug 24, 2012 at 02:23:47PM +0200, Alex Dupre wrote: > >> Baptiste Daroussin ha scritto: > >> > >>> On of the thing I forgot and kan@ has added is a prompt for the user = in case it > >>> is going to bootstrap. > >> > >> So, removing the prompt will make everybody happy? :-) > >> > >> 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. > >=20 > > regards, > > Bapt > >=20 >=20 > Maybe an ENV variable to auto confirm the prompt too? I'm thinking about > scripts using pkg to bootstrap an entire system install. Maybe I'm on a > TTY and just want it to confirm auto anyway. This is already the case (thanks kan@) >=20 > Bryan --Pk6IbRAofICFmK5e Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlA3pZIACgkQ8kTtMUmk6EzHiACgicwu0vyhuSOyRrNDAm0CnTTt GVAAniADTmVjp37RwqAAuYFUQJ9b0UFB =tgk5 -----END PGP SIGNATURE----- --Pk6IbRAofICFmK5e--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120824160226.GC37867>