diff options
| author | Daniel Micay <daniel.micay@grapheneos.org> | 2024-03-06 15:03:20 -0500 |
|---|---|---|
| committer | Daniel Micay <daniel.micay@grapheneos.org> | 2024-03-06 15:18:04 -0500 |
| commit | 5111d8f1fb2685bf48765da0e17da5255309283b (patch) | |
| tree | e89f759594eca47485cab80a8ebbef0b74a46b2b /process-static | |
| parent | 93cf3596cc13f0db926ae028dae159412beb6954 (diff) | |
remove unnecessary zopfli wrapper
The timestamps of the generated static files are no longer used.
Diffstat (limited to 'process-static')
| -rwxr-xr-x | process-static | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/process-static b/process-static index 3ccbc354..fae44c7a 100755 --- a/process-static +++ b/process-static @@ -92,11 +92,5 @@ for file in static-tmp/**/*.@(atom|xml); do xmllint --noblanks "$file" --output "$file" done -zopfli_preserve_time() { - zopfli "$1" - touch -r "$1" "$1.gz" -} -export -f zopfli_preserve_time - find static-tmp -regex '.+\.\(atom\|css\|html\|ico\|js\|json\|mjs\|pdf\|svg\|txt\|webmanifest\|xml\)' | - parallel -q ::: brotli zopfli_preserve_time :::: - + parallel -q ::: brotli zopfli :::: - |
