guix-install.sh: Cosmetically tweak non-interactive output.
Avoid printing Press return to continue...[1666352494.051]: Starting installation… [1666352648.869]: … when the return itself wasn't echoed on the console. * etc/guix-install.sh (welcome): Add a carriage return to the prompt, so that the next line of output may overwrite it.master
parent
a326e3085d
commit
0d2ad16c07
|
@ -607,7 +607,8 @@ This script installs GNU Guix on your system
|
||||||
|
|
||||||
https://www.gnu.org/software/guix/
|
https://www.gnu.org/software/guix/
|
||||||
EOF
|
EOF
|
||||||
echo -n "Press return to continue..."
|
# Don't use ‘read -p’ here! It won't display when run non-interactively.
|
||||||
|
echo -n "Press return to continue..."$'\r'
|
||||||
read -r char
|
read -r char
|
||||||
if [ "$char" ]; then
|
if [ "$char" ]; then
|
||||||
echo
|
echo
|
||||||
|
|
Reference in New Issue