diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-03-05 13:00:19 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-03-05 13:00:19 +0100 |
commit | ad84a2f64f53bcac3b64185165ac15d4eb9993f4 (patch) | |
tree | 260f458c3080af345302739a78953e907e88146f | |
parent | dbe61853550a2ff07122fa0d022b1bb9fd8e4bb7 (diff) | |
download | deployment-ad84a2f64f53bcac3b64185165ac15d4eb9993f4.tar.gz deployment-ad84a2f64f53bcac3b64185165ac15d4eb9993f4.tar.bz2 deployment-ad84a2f64f53bcac3b64185165ac15d4eb9993f4.zip |
sanitize
-rwxr-xr-x | netzbon/main.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/netzbon/main.sh b/netzbon/main.sh index 19d0ff3..48c3894 100755 --- a/netzbon/main.sh +++ b/netzbon/main.sh @@ -26,12 +26,14 @@ echo "TALER: Welcome to the GNU Taler Debian setup!" if test -z "${CURRENCY:-}" then read -p "Enter the name of the currency (e.g. 'EUR'): " CURRENCY + # convert to all-caps + CURRENCY=`echo ${CURRENCY} | tr a-z A-Z` echo "CURRENCY=${CURRENCY}" >> config/user.conf fi if test -z "${BANK_NAME:-}" then read -p "Enter the human-readable name of the bank (e.g. 'Taler Bank'): " BANK_NAME - echo "BANK_NAME=${BANK_NAME}" >> config/user.conf + echo "BANK_NAME=\"${BANK_NAME}\"" >> config/user.conf fi if test -z "${ENABLE_TLS:-}" then @@ -59,6 +61,8 @@ fi if test -z "${DOMAIN_NAME:-}" then read -p "Enter the domain name: " DOMAIN_NAME + # convert to lower-case + DOMAIN_NAME=`echo ${DOMAIN_NAME} | tr A-Z a-z` echo "DOMAIN_NAME=${DOMAIN_NAME}" >> config/user.conf fi # END USER INTERACTION |