aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog6
-rw-r--r--debian/libtalerexchange.install1
-rw-r--r--src/util/config.c4
3 files changed, 11 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 2a18d1b61..a712cdc5a 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 56b69e6d6..55de05837 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 1342b53b9..188969c6f 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;
}