taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 98f637ca2b8303f06cd01c7237f18b16b3784773
parent 370759134c73b6c87f57d336d06a348716751956
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat,  4 Mar 2023 11:49:19 +0100

-fix order

Diffstat:
Mnetzbon/main.sh | 16++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/netzbon/main.sh b/netzbon/main.sh @@ -25,12 +25,12 @@ 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 + read -p "Enter the name of the currency (e.g. 'EUR'): " CURRENCY echo "CURRENCY=${CURRENCY}" >> config/taler.conf fi if test -z "${SANDBOX_ADMIN_PASSWORD:-}" then - read -p "Enter the admin password for the bank " SANDBOX_ADMIN_PASSWORD + read -p "Enter the admin password for the bank: " SANDBOX_ADMIN_PASSWORD echo "SANDBOX_ADMIN_PASSWORD=${SANDBOX_ADMIN_PASSWORD}" >> config/taler.conf fi if test -z "${DOMAIN_NAME:-}" @@ -49,6 +49,12 @@ then exit 1 fi +# Check if the user is root, otherwise EXIT. +check_user + +# Installation of Debian packages required +. install_debian_packages.sh + if test -z "${NEXUS_EXCHANGE_PASSWORD:-}" then NEXUS_EXCHANGE_PASSWORD=`uuidgen` @@ -60,12 +66,6 @@ then echo "SANDBOX_EXCHANGE_PASSWORD=${SANDBOX_EXCHANGE_PASSWORD}" >> config/internal.conf fi -# Check if the user is root, otherwise EXIT. -check_user - -# Installation of Debian packages required -. install_debian_packages.sh - # ENABLE MERCHANT & EXCHANGE # FIXME: these should have been done by the Debian # packages!