From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gF6rB-00038a-Pd for guix-patches@gnu.org; Tue, 23 Oct 2018 20:17:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gF6r8-0003yN-DJ for guix-patches@gnu.org; Tue, 23 Oct 2018 20:17:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34677) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gF6r8-0003y9-7O for guix-patches@gnu.org; Tue, 23 Oct 2018 20:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gF6r7-0005AX-T7 for guix-patches@gnu.org; Tue, 23 Oct 2018 20:17:01 -0400 Subject: [bug#33134] [PATCH 0/1] guix-install.sh: Add ability to run it non-interactively. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40685) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gF6qD-00035S-I9 for guix-patches@gnu.org; Tue, 23 Oct 2018 20:16:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gF6q8-0003GO-9F for guix-patches@gnu.org; Tue, 23 Oct 2018 20:16:03 -0400 Received: from lyra.ricketyspace.net ([159.89.229.91]:42750) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gF6q6-0003CJ-H3 for guix-patches@gnu.org; Tue, 23 Oct 2018 20:15:58 -0400 From: rsiddharth Date: Tue, 23 Oct 2018 20:15:42 -0400 Message-Id: <20181024001542.16368-1-s@ricketyspace.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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: 33134@debbugs.gnu.org Cc: rsiddharth I want to be able to run the guix-install.sh non-interactively[1] like th= is: echo "yy" | guix-install.sh (One "y" for "Press return to continue..." prompt, the other "y" for "Permit downloading pre-built package binaries from the project's buil= d farms? (yes/no)" prompt). Currently, the `read` in welcome function reads both the "y". I updated i= t to read just one character. [1]: https://git.ricketyspace.net/propellor/tree/config.hs?id=3D0cddd47ef= #n640 rsiddharth (1): guix-install.sh: Update welcome. etc/guix-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --=20 2.19.1