mirror of
https://github.com/GrapheneOS/matrix.grapheneos.org.git
synced 2025-04-17 06:22:58 -04:00
remove unnecessary zopfli wrapper
The timestamps of the generated static files are no longer used.
This commit is contained in:
parent
fbf9b23cbf
commit
8b8ce937f6
@ -26,11 +26,5 @@ rm -rf static-tmp
|
||||
cp -a /usr/share/webapps/element static-tmp
|
||||
cp --remove-destination webapps/element/config.json static-tmp/config.json
|
||||
|
||||
zopfli_preserve_time() {
|
||||
zopfli "$1"
|
||||
touch -r "$1" "$1.gz"
|
||||
}
|
||||
export -f zopfli_preserve_time
|
||||
|
||||
find static-tmp -regex '.+\.\(css\|html\|ico\|js\|json\|map\|svg\|txt\|wasm\|xml\)' |
|
||||
parallel -q ::: brotli zopfli_preserve_time :::: -
|
||||
parallel -q ::: brotli zopfli :::: -
|
||||
|
Loading…
x
Reference in New Issue
Block a user