From bd5508c56be11e419c9c1c42f6b4a2cfa423efe8 Mon Sep 17 00:00:00 2001 From: Kristaps Kaupe Date: Wed, 28 Sep 2022 16:40:47 +0300 Subject: [PATCH] Minor improvements for question prompts and feedback --- install.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index da5542a..4f64de8 100755 --- a/install.sh +++ b/install.sh @@ -170,7 +170,8 @@ dar_deps_install () check_skip_build () { if [[ ${reinstall} == false ]] && [[ -d "$1" ]]; then - read -p "Directory ${1} exists. Remove and recreate? (y/n) " q + read -n 1 -p "Directory ${1} exists. Remove and recreate? (y/N) " q + echo "" if [[ "${q}" =~ Y|y ]]; then rm -rf "./${1}" mkdir -p "./${1}" @@ -537,11 +538,15 @@ Options: done if [[ ${with_qt} == '' ]]; then - read -p " + read -n 1 -p " INFO: Joinmarket-Qt for GUI Taker and Tumbler modes is available. - Install Qt dependencies (~160mb) ? [y|n] : " + Install Qt dependencies (~160mb)? (y/N) " + echo "" if [[ ${REPLY} =~ y|Y ]]; then + echo "Building Qt GUI" with_qt='1' + else + echo "Not building Qt GUI" fi fi }