remove version workaround

This commit is contained in:
Daniel Micay 2021-12-20 13:14:52 -05:00
parent 5041ae9bf5
commit 5571abff90

View File

@ -12,9 +12,6 @@ rm -rf static-tmp
cp -a /usr/share/webapps/element static-tmp
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!!/$(cat static-tmp/version | tr -d '\n')/g" {} +
brotli_k() {
brotli -k "$@"
}