guix/etc
Maxim Cournoyer e46bb5fd5a
guix-install.sh: Restore compatibility with "yes" invocation.
Commit 6a2e303d3a had modified prompt_yes_no to only read a single character,
aiming to ease the user experience.  This was, in retrospect, a bad idea, as
it makes user input error more likely and introduces complexity.

This commit reverts to line-oriented input, while preserving the default yes
value so that a user can simply hit 'Enter' at the prompt in place of typing
"yes".

* etc/guix-install.sh (_flush): Delete function.
(prompt_yes_no): Restore line-oriented read.  Remove loop.  Make anything else
than yes means no.  Use Bash features to streamline definition.

Reported-by: Lars-Dominik Braun <lars@6xq.net> and others.
2022-10-11 12:00:44 -04:00
..
completion
git
init.d
openrc
snippets snippets: Fix move. 2022-10-06 21:16:46 +02:00
substitutes
committer.scm.in
copyright.el
disarchive-manifest.scm
gnu-store.mount.in
guix-daemon.cil.in
guix-daemon.conf.in
guix-daemon.service.in
guix-gc.service.in
guix-gc.timer
guix-install.sh guix-install.sh: Restore compatibility with "yes" invocation. 2022-10-11 12:00:44 -04:00
guix-publish.conf.in
guix-publish.service.in
historical-authorizations
news.scm news: Add 'pt' translation. 2022-10-03 16:23:16 +02:00
release-manifest.scm
source-manifest.scm
system-tests.scm
teams.scm.in etc: teams: Add news.scm to translations team scope. 2022-10-03 15:33:29 +02:00
time-travel-manifest.scm