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 bash completion: Fix & unify option parsing. 2022-05-29 02:00:20 +02:00
git
init.d
openrc
snippets snippets: Fix move. 2022-10-06 21:16:46 +02:00
substitutes
committer.scm.in etc/committer: Teach it how to commit package removal. 2022-05-31 14:52:13 -04:00
copyright.el
disarchive-manifest.scm disarchive-manifest: Exclude the Chromium tarball. 2022-08-06 23:14:41 +02:00
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 maint: Ignore cross-compilation to x86. 2022-09-01 18:31:26 +02:00
source-manifest.scm
system-tests.scm build-system: Add 'channel-build-system'. 2022-08-09 15:16:06 +02:00
teams.scm.in etc: teams: Add news.scm to translations team scope. 2022-10-03 15:33:29 +02:00
time-travel-manifest.scm time-travel-manifest: Use a separate cache per system. 2022-08-17 15:42:56 +02:00