summaryrefslogtreecommitdiff
path: root/tests/guix-build-branch.sh
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-10-05 21:48:25 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-10-07 01:23:05 -0400
commit6a2e303d3a49baf7c222a70b91f453e9efd456c6 (patch)
tree4497a5d11cd686e93973b89bb55d2be39a400849 /tests/guix-build-branch.sh
parent8319be779f0d780aa801c9fa1be853781c680dda (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 'tests/guix-build-branch.sh')
0 files changed, 0 insertions, 0 deletions