diff --git a/process-static b/process-static index 0abc7db..6f113c0 100755 --- a/process-static +++ b/process-static @@ -26,11 +26,6 @@ rm -rf static-tmp cp -a /usr/share/webapps/element static-tmp cp --remove-destination webapps/element/config.json static-tmp/config.json -brotli_k() { - brotli -k "$@" -} -export -f brotli_k - zopfli_preserve_time() { zopfli "$1" touch -r "$1" "$1.gz" @@ -38,4 +33,4 @@ zopfli_preserve_time() { export -f zopfli_preserve_time find static-tmp -regex '.+\.\(css\|html\|ico\|js\|json\|map\|svg\|txt\|wasm\|xml\)' | - parallel -q ::: brotli_k zopfli_preserve_time :::: - + parallel -q ::: brotli zopfli_preserve_time :::: -