From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gIkUE-0008FD-JM for guix-patches@gnu.org; Fri, 02 Nov 2018 21:12:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gIkTx-0006T5-LQ for guix-patches@gnu.org; Fri, 02 Nov 2018 21:12:15 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56239) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gIkTq-0006P7-UN for guix-patches@gnu.org; Fri, 02 Nov 2018 21:12:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gIkTq-0002lB-N8 for guix-patches@gnu.org; Fri, 02 Nov 2018 21:12:02 -0400 Subject: [bug#33134] [PATCH 4/5] guix-install.sh: Update welcome. Resent-Message-ID: From: rsiddharth Date: Fri, 2 Nov 2018 21:11:20 -0400 Message-Id: <20181103011120.27789-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 * etc/guix-install.sh (welcome): Don't prompt if AUTO_YN is set. --- etc/guix-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/guix-install.sh b/etc/guix-install.sh index c817b6dd8..9bf52db41 100755 --- a/etc/guix-install.sh +++ b/etc/guix-install.sh @@ -413,7 +413,7 @@ This script installs GNU Guix on your system https://www.gnu.org/software/guix/ EOF echo -n "Press return to continue..." - read -N 1 -r ANSWER + [[ -n $AUTO_YN ]] || read -N 1 -r ANSWER } main() -- 2.19.1