From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFHkj-0000iD-Fy for guix-patches@gnu.org; Wed, 24 Oct 2018 07:55:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFHkd-0001dT-T2 for guix-patches@gnu.org; Wed, 24 Oct 2018 07:55:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34917) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gFHkb-0001as-NN for guix-patches@gnu.org; Wed, 24 Oct 2018 07:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gFHkb-0007Dg-Ls for guix-patches@gnu.org; Wed, 24 Oct 2018 07:55:01 -0400 Subject: [bug#33134] [PATCH 0/1] guix-install.sh: Add ability to run it non-interactively. Resent-Message-ID: Date: Wed, 24 Oct 2018 14:54:43 +0300 From: Efraim Flashner Message-ID: <20181024115443.GA1297@macbook41> References: <20181024001542.16368-1-s@ricketyspace.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr" Content-Disposition: inline In-Reply-To: <20181024001542.16368-1-s@ricketyspace.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: rsiddharth Cc: 33134@debbugs.gnu.org --liOOAslEiF7prFVr Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 23, 2018 at 08:15:42PM -0400, rsiddharth wrote: > I want to be able to run the guix-install.sh non-interactively[1] like th= is: >=20 > echo "yy" | guix-install.sh >=20 > (One "y" for "Press return to continue..." prompt, the other "y" for > "Permit downloading pre-built package binaries from the project's build > farms? (yes/no)" prompt). >=20 > Currently, the `read` in welcome function reads both the "y". I updated i= t to > read just one character. >=20 would this work? echo "y\ny" | guix-install.sh --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --liOOAslEiF7prFVr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlvQXYAACgkQQarn3Mo9 g1ERpQ/9F2wjf/L5rHYeLBqQi/nvnAM1tgDavb4zCtx4yMbiZ4yVrx9LLaBf+qaL lsgG26Dx/DA5BXfTyYibLXpIEIVD71lb2E7H+ElUnhO/YQ+99qerjlZPCPZbkMpZ kLzwfO4Ydf5e+5m2kltO/VZ2+AHh8VG2nU+57zNUPPqaiNk2KNzVx2g4NdX+U1k3 9Zf74EvkwwV6Nby7pXfTMbT57184gJ5QYOSlaA+WNn94FTYTNBlklJrBqclQugLE Wir8uhw/OXaAFuIZAidRPVSByvHT6QxN0qLmpfon3d8CO+3wgHpRINRF3TltkC0/ H2NRy1lI2TGJ2ViPdKH2KKGo6q+FehXYHgNMMpAntyH3hWuIPn6aTy9j/wKONYPg k8DqpLIIrOg7jBgHIs0nbLr/hpIDZhKGpdy4l3Fj5qVCHpPp+Xne9Z2IeY4H6fkn V5vrUT1XELRsDRyyBadMypnOuWhtsw/Q9w2xCVjSOfg2iOoAU3YhGr4DsBARvoXd AUEFPmnvwPmMUYfv0L5Vvc6uaQqRc+gmbmC8F+zZNyk6JSo4CVLa6KAYsNCeHs3b ZH9DtytzgVBH3ZdZOBsHiGPSL3yxUVj/FX9yJA9XD4nqUWMhUvtUQTpnq8fEuXbm 3inHG9hyB2Vtp8fWNgk3vMMa2BGjS7mw8OaUAL7LMqaeQBaGMTs= =5/YS -----END PGP SIGNATURE----- --liOOAslEiF7prFVr--