merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 890065a40bb8fe203f3415c6e12350c0a3f6e03d
parent 45c851d9e84ae27ca51905a66c1b0191867a7c99
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu,  3 Jul 2025 11:06:13 +0200

create on-disk compressed versions of the SPA during post-install (#9284)

Diffstat:
Mdebian/taler-merchant.postinst | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/debian/taler-merchant.postinst b/debian/taler-merchant.postinst @@ -76,6 +76,15 @@ configure) # Cleanup marker file rm -f "$MARKER" + + # Try to generate compressed versions of the SPA + for n in index.html index.css index.js lang.js + do + TDIR="/usr/share/taler-merchant/" + gzip --best - < "${TDIR}/spa/$n" > "${TDIR}/spa/$n.gz" || true + zstd -19 - < "${TDIR}/spa/$n" > "${TDIR}/spa/$n.zstd" || true + done + ;; abort-upgrade | abort-remove | abort-deconfigure) ;;