[bug#33134,1/1] guix-install.sh: Update welcome.

Message ID 20181024002114.46005-1-s@ricketyspace.net
State New
Headers show
Series
  • guix-install.sh: Add ability to run it non-interactively.
Related show

Checks

Context Check Description
cbaines/applying patch success Successfully applied

Commit Message

rsiddharth Oct. 24, 2018, 12:21 a.m. UTC
* etc/guix-install.sh (welcome): Read exactly one character from input.
---
 etc/guix-install.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/etc/guix-install.sh b/etc/guix-install.sh
index ca6874ba0..cf839c20e 100755
--- a/etc/guix-install.sh
+++ b/etc/guix-install.sh
@@ -398,7 +398,7 @@  This script installs GNU Guix on your system
 https://www.gnu.org/software/guix/
 EOF
     echo -n "Press return to continue..."
-    read -r  ANSWER
+    read -N 1 -r  ANSWER
 }
 
 main()