gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: include currencies.conf in libta


From: gnunet
Subject: [taler-exchange] branch master updated: include currencies.conf in libtalerexchange as the merchant-httpd needs it
Date: Fri, 15 Dec 2023 09:51:37 +0100

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

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 06319e69 include currencies.conf in libtalerexchange as the 
merchant-httpd needs it
06319e69 is described below

commit 06319e6995bf8606306d03a4c05051cf90b143dd
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Fri Dec 15 16:51:30 2023 +0800

    include currencies.conf in libtalerexchange as the merchant-httpd needs it
---
 debian/changelog                | 6 ++++++
 debian/libtalerexchange.install | 1 +
 src/util/config.c               | 4 ++++
 3 files changed, 11 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 2a18d1b6..a712cdc5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+taler-exchange (0.9.3-7) unstable; urgency=low
+
+  * Move currencies.conf into libtalerexchange base package.
+
+ -- Christian Grothoff <grothoff@gnu.org>  Tue, 15 Dec 2023 18:50:12 -0700
+
 taler-exchange (0.9.3-6) unstable; urgency=low
 
   * Generate proper markdown in taler-terms-generator.
diff --git a/debian/libtalerexchange.install b/debian/libtalerexchange.install
index 56b69e6d..55de0583 100644
--- a/debian/libtalerexchange.install
+++ b/debian/libtalerexchange.install
@@ -2,6 +2,7 @@ usr/lib/*/libtaler*.so.*
 
 # FIXME:  All this should eventually go into taler-base.
 usr/share/taler/config.d/paths.conf
+usr/share/taler/config.d/currencies.conf
 usr/share/taler/config.d/taler.conf
 debian/etc-libtalerexchange/* etc/
 usr/bin/taler-config
diff --git a/src/util/config.c b/src/util/config.c
index 1342b53b..188969c6 100644
--- a/src/util/config.c
+++ b/src/util/config.c
@@ -461,7 +461,11 @@ TALER_CONFIG_parse_currencies (const struct 
GNUNET_CONFIGURATION_Handle *cfg,
   *num_currencies = cpc.num_currencies;
   *cspecs = cpc.cspecs;
   if (0 == *num_currencies)
+  {
+    GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+                "No currency formatting specification found! Please check your 
installation!\n");
     return GNUNET_NO;
+  }
   return GNUNET_OK;
 }
 

-- 
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]