gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] branch master updated: sanitize


From: gnunet
Subject: [taler-deployment] branch master updated: sanitize
Date: Sun, 05 Mar 2023 13:00:21 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new ad84a2f  sanitize
ad84a2f is described below

commit ad84a2f64f53bcac3b64185165ac15d4eb9993f4
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Mar 5 13:00:19 2023 +0100

    sanitize
---
 netzbon/main.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]