commit 7330005baae937c2eaae1e76fdbd4e66881cc0c2
parent b40237ea89dc17e952ff067f95679ddf3205d687
Author: Florian Dold <dold@taler.net>
Date: Tue, 25 Aug 2026 18:42:56 +0200
debian: stop compressing fallback SPA files
The compression meant for the legacy prebuilt SPA caused warnings, and
compressing the fallback isn't worth it.
Diffstat:
3 files changed, 0 insertions(+), 18 deletions(-)
diff --git a/debian/control b/debian/control
@@ -104,7 +104,6 @@ Depends:
adduser,
lsb-base,
netbase,
- zstd,
ucf,
${misc:Depends},
${shlibs:Depends}
@@ -195,7 +194,6 @@ Depends:
taler-exchange-database (= ${binary:Version}),
taler-auditor-webui,
adduser,
- zstd,
lsb-base,
netbase,
${misc:Depends},
diff --git a/debian/taler-auditor.postinst b/debian/taler-auditor.postinst
@@ -35,13 +35,6 @@ configure)
/etc/taler-auditor/secrets/exchange-accountcredentials-1.secret.conf
fi
- # Try to generate compressed versions of the SPA
- for n in index.css index.js index.html
- do
- TDIR="/usr/share/taler-auditor/"
- 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) ;;
diff --git a/debian/taler-exchange.postinst b/debian/taler-exchange.postinst
@@ -131,15 +131,6 @@ configure)
/etc/taler-exchange/secrets/exchange-db.secret.conf
fi
- # Try to generate compressed versions of the SPAs
- for n in forms.json index.css index.js index.html
- do
- TDIR="/usr/share/taler-exchange/"
- gzip --best - < "${TDIR}/aml-spa/$n" > "${TDIR}/aml-spa/$n.gz" || rm -f "${TDIR}/aml-spa/$n.gz"
- gzip --best - < "${TDIR}/kyc-spa/$n" > "${TDIR}/kyc-spa/$n.gz" || rm -f "${TDIR}/kyc-spa/$n.gz"
- zstd -19 - < "${TDIR}/aml-spa/$n" > "${TDIR}/aml-spa/$n.zstd" || rm -f "${TDIR}/aml-spa/$n.zstd"
- zstd -19 - < "${TDIR}/kyc-spa/$n" > "${TDIR}/kyc-spa/$n.zstd" || rm -f "${TDIR}/kyc-spa/$n.zstd"
- done
;;
abort-upgrade | abort-remove | abort-deconfigure) ;;