[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-deployment] branch master updated: nexus currency
From: |
gnunet |
Subject: |
[taler-deployment] branch master updated: nexus currency |
Date: |
Sun, 03 Dec 2023 17:22:13 +0100 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository deployment.
The following commit(s) were added to refs/heads/master by this push:
new 31fff46 nexus currency
31fff46 is described below
commit 31fff46795e0a547406942f6d03219dc67582c3c
Author: MS <ms@taler.net>
AuthorDate: Sun Dec 3 17:20:35 2023 +0100
nexus currency
grabbing nexus fiat currency from the user answers
---
netzbon/config_libeufin_nexus.sh | 6 ++++++
netzbon/withdraw.sh | 3 ++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/netzbon/config_libeufin_nexus.sh b/netzbon/config_libeufin_nexus.sh
index 5d95008..ae69543 100755
--- a/netzbon/config_libeufin_nexus.sh
+++ b/netzbon/config_libeufin_nexus.sh
@@ -9,6 +9,7 @@
set -eu
source functions.sh
+source config/user.conf
# In order to reach the bank, the setup step needs to provide
# the section [ebics-setup]. This is a manual process that is
@@ -20,6 +21,11 @@ then echo -e "[nexus-postgres]\n"\
>> /etc/libeufin/libeufin-nexus.conf
fi
+if ! taler-config -s "nexus-ebics" -o code &> /dev/null
+ taler-config -s nexus-ebics -o currency \
+ -V $CURRENCY /etc/libeufin/libeufin-nexus.conf
+fi
+
say "Setting up libeufin-nexus database"
libeufin-nexus-dbconfig
diff --git a/netzbon/withdraw.sh b/netzbon/withdraw.sh
index c0d6fcf..2f1b33b 100755
--- a/netzbon/withdraw.sh
+++ b/netzbon/withdraw.sh
@@ -18,6 +18,7 @@ CAMT_054=$(sed \
-e "s/DEBTOR_IBAN/$DEBTOR_IBAN/" \
incoming_template.xml)
-echo "$CAMT_054" | libeufin-nexus ebics-fetch -c $NEXUS_CONFIG_FILE --import
+echo "$CAMT_054" | sudo -i -u libeufin-nexus \
+ libeufin-nexus ebics-fetch -c $NEXUS_CONFIG_FILE --import
taler-wallet-cli run-until-done
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-deployment] branch master updated: nexus currency,
gnunet <=