commit 3a4656cdd4d96b6c4c4b798aba16378c2c89cb6e parent 17452a8775554cf8e3a0a8700bc4ff369212fd0b Author: Christian Grothoff <grothoff@gnunet.org> Date: Fri, 25 Jul 2025 22:39:16 +0200 tolerate missing zstd on package install, should fix #10211 Diffstat:
| M | debian/taler-merchant.postinst | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/taler-merchant.postinst b/debian/taler-merchant.postinst @@ -81,8 +81,8 @@ configure) 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 + gzip --best - < "${TDIR}/spa/$n" > "${TDIR}/spa/$n.gz" || "${TDIR}/spa/$n.gz" + zstd -19 - < "${TDIR}/spa/$n" > "${TDIR}/spa/$n.zstd" || rm -f "${TDIR}/spa/$n.zstd" done ;;