[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#33134] [PATCH 0/1] guix-install.sh: Add ability to run it non-inter
From: |
Efraim Flashner |
Subject: |
[bug#33134] [PATCH 0/1] guix-install.sh: Add ability to run it non-interactively. |
Date: |
Wed, 24 Oct 2018 14:54:43 +0300 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
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 this:
>
> 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 build
> farms? (yes/no)" prompt).
>
> Currently, the `read` in welcome function reads both the "y". I updated it to
> read just one character.
>
would this work? echo "y\ny" | guix-install.sh
--
Efraim Flashner <address@hidden> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
signature.asc
Description: PGP signature