add workaround for Element version being unset

This commit is contained in:
Daniel Micay 2021-12-10 05:53:33 -05:00
parent 91cb36d7a0
commit 525e5f5e9d

View File

@ -12,6 +12,9 @@ rm -rf static-tmp
cp -a /usr/share/webapps/element static-tmp cp -a /usr/share/webapps/element static-tmp
cp --remove-destination webapps/element/config.json static-tmp/config.json cp --remove-destination webapps/element/config.json static-tmp/config.json
# work around https://bugs.archlinux.org/task/72968
find static-tmp -name '*.js' -exec sed -i 's/!!UNSET!!/1.9.6/' {} +
brotli_k() { brotli_k() {
brotli -k "$@" brotli -k "$@"
} }