sandcastle-ng

Scripts for the deployment of Sandcastle (GNU Taler)
Log | Files | Refs | README

commit 50ee6f2f686961ab0ed1f1f2e7a5a1c2fd02a8a0
parent 77a537a94841e9c3c18c9cc44b589e0293abf5db
Author: Florian Dold <florian@dold.me>
Date:   Thu, 20 Feb 2025 22:45:13 +0100

use new config tool

Diffstat:
Mdata/sandcastle-amp-email | 4++--
Mdata/sandcastle-amp-form | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/data/sandcastle-amp-email b/data/sandcastle-amp-email @@ -26,7 +26,7 @@ function exit_fail() { exit "$EXIT_STATUS" } -CONF="$HOME/.config/taler.conf" +CONF="$HOME/.config/taler-exchange.conf" VERBOSE=0 while getopts 'aic:hrvV' OPTION; @@ -97,7 +97,7 @@ echo "$J" >> /dev/null EXPIRATION=$((3600 * 30 + $(date +%s))) # Read currency from the config -CURRENCY=$(taler-config -c $CONF -s taler -o currency) +CURRENCY=$(taler-exchange-config -c $CONF -s exchange -o currency) # Finally, output the new rules. # See https://docs.taler.net/taler-exchange-manual.html#tsref-type-AmlOutcome diff --git a/data/sandcastle-amp-form b/data/sandcastle-amp-form @@ -26,7 +26,7 @@ function exit_fail() { exit "$EXIT_STATUS" } -CONF="$HOME/.config/taler.conf" +CONF="$HOME/.config/taler-exchange.conf" VERBOSE=0 while getopts 'aic:hrvV' OPTION; @@ -105,7 +105,7 @@ fi EXPIRATION=$((3600 * 30 + $(date +%s))) # Read currency from the config -CURRENCY=$(taler-config -c $CONF -s taler -o currency) +CURRENCY=$(taler-exchange-config -c $CONF -s exchange -o currency) # Finally, output the new rules. # See https://docs.taler.net/taler-exchange-manual.html#tsref-type-AmlOutcome