Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Fri, 24 Aug 2012 16:31:19 +0200
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_at_ 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

Received on Fri Aug 24 2012 - 12:31:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:30 UTC