Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2012 16:31:19 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Alex Dupre <ale@FreeBSD.org>
Cc:        ports@FreeBSD.org, Steve Wills <swills@FreeBSD.org>, current@FreeBSD.org
Subject:   Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap
Message-ID:  <20120824143119.GA37867@ithaqua.etoilebsd.net>
In-Reply-To: <50377253.103@FreeBSD.org>
References:  <97612B57-1255-4BB3-A6D3-FC74324C6D67@FreeBSD.org> <20120824081543.GB2998@ithaqua.etoilebsd.net> <50377253.103@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120824143119.GA37867>