diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-10-05 21:48:25 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-10-07 01:23:05 -0400 |
commit | 6a2e303d3a49baf7c222a70b91f453e9efd456c6 (patch) | |
tree | 4497a5d11cd686e93973b89bb55d2be39a400849 /etc/committer.scm.in | |
parent | 8319be779f0d780aa801c9fa1be853781c680dda (diff) |
guix-install.sh: Improve prompt_yes_no procedure.
* etc/guix-install.sh (_flush): New function.
(prompt_yes_no): Clear input, then only read the first character, silently.
Add the [Yes/no] string to the message. When a newline is entered by the
user, treat it as the default value, which is "yes".
(chk_gpg_keyring): Remove "(yes/no)" from the prompt message.
(configure_substitute_discovery): Likewise.
(sys_authorize_build_farms): Likewise.
Diffstat (limited to 'etc/committer.scm.in')
0 files changed, 0 insertions, 0 deletions