install into usr/share/taler/exchange

This commit is contained in:
Florian Dold 2021-07-26 16:16:52 +02:00
parent 6310a00e7a
commit 02aa49cc36
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
4 changed files with 7 additions and 7 deletions

View File

@ -1,12 +1,12 @@
SUBDIRS = .
# English (en)
tosendir=$(pkgdatadir)/tos/en
tosendir=$(datadir)/taler/exchange/tos/en
# English (en)
ppendir=$(pkgdatadir)/pp/en
ppendir=$(datadir)/taler/exchange/pp/en
rdatadir=$(pkgdatadir)
rdatadir=$(datadir)/taler/exchange
tosen_DATA = \
tos/en/0.txt \

View File

@ -4,7 +4,7 @@ set -e
. /usr/share/debconf/confmodule
TALEROFF_HOME="/var/lib/taler-exchange-offline"
TALER_HOME="/var/lib/taler-exchange"
# usage: lncfg user home target
function lncfg() {
@ -26,7 +26,7 @@ configure)
if ! getent passwd taler-exchange-offline >/dev/null; then
adduser --quiet --system \
--ingroup taler-exchange-offline \
--home ${TALEROFF_HOME}/httpd taler-exchange-offline
--home ${TALER_HOME}/offline taler-exchange-offline
fi
lncfg taler-exchange-offline taler-exchange-offline /etc/taler/exchange-offline.conf

View File

@ -29,7 +29,7 @@ bin_SCRIPTS = \
taler-auditor \
taler-helper-auditor-render.py
edit_script = $(SED) -e 's,%pkgdatadir%,$(pkgdatadir),'g $(NULL)
edit_script = $(SED) -e 's,%datadir%,$(datadir),'g $(NULL)
taler-auditor: taler-auditor.in
rm -f $@ $@.tmp && \

View File

@ -89,7 +89,7 @@ taler-helper-auditor-render.py \
${DIR}/coins.json \
${DIR}/deposits.json \
${DIR}/reserves.json \
${DIR}/wire.json < %pkgdatadir%/auditor-report.tex.j2 > ${DIR}/auditor-report.tex
${DIR}/wire.json < %datadir%/taler/exchange/auditor-report.tex.j2 > ${DIR}/auditor-report.tex
cd ${DIR}
pdflatex auditor-report.tex < /dev/null &> /dev/null || true
pdflatex auditor-report.tex < /dev/null &> /dev/null || true