Date: Fri, 24 Aug 2012 11:06:43 -0500 From: Bryan Drewery <bryan@shatow.net> To: Baptiste Daroussin <bapt@FreeBSD.org> 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: <5037A693.3020502@shatow.net> In-Reply-To: <20120824160226.GC37867@ithaqua.etoilebsd.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> <20120824160226.GC37867@ithaqua.etoilebsd.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 8/24/2012 11:02 AM, Baptiste Daroussin wrote: > 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" >>>> >>> >>> Imho the best is to prompt only if not on a tty, otherwise fail, except if a >>> environment variable is set. >>> >>> regards, >>> Bapt >>> >> >> 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@) >> Perfect. I see it now, ALWAYS_ASSUME_YES. Bryan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5037A693.3020502>