From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gIkSy-0007oZ-RM for guix-patches@gnu.org; Fri, 02 Nov 2018 21:11:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gIkSt-0005Ok-7T for guix-patches@gnu.org; Fri, 02 Nov 2018 21:11:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56223) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gIkSs-0005OH-Ph for guix-patches@gnu.org; Fri, 02 Nov 2018 21:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gIkSs-0002io-DZ for guix-patches@gnu.org; Fri, 02 Nov 2018 21:11:02 -0400 Subject: [bug#33134] [PATCH 0/5] Add auto yes/no switch to guix-install.sh Resent-Message-ID: From: rsiddharth Date: Fri, 2 Nov 2018 21:10:19 -0400 Message-Id: <20181103011019.87844-1-s@ricketyspace.net> In-Reply-To: <20181024115443.GA1297@macbook41> References: <20181024115443.GA1297@macbook41> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 The following patch series adds "auto yes/no" switch to the guix-install.sh script. It works like this: guix-install.sh -y [ for non-interactively answering 'yes' to all y/n prompts ] guix-install.sh -n [ for non-interactively answering 'no' to all y/n prompts ] If either the -y or the -n switch is provided, the script will skip the "Press return to continue..." prompt. I'm not a bash expert; if there is a better way to do this, let me know. I would be happy to refactor and send a fresh patch series. rsiddharth (5): guix-install.sh: Update welcome. guix-install.sh: Add parse_args. guix-install.sh: Update main. guix-install.sh: Update welcome. guix-install.sh: Update sys_authorize_build_farms. etc/guix-install.sh | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) -- 2.19.1