Use gzip -n to prevent embedded buildtimes

This commit is contained in:
Carina Odenbreit 2020-11-11 00:54:02 +01:00 committed by Nicolas Fella
parent 007eacca5b
commit eaf585bc01
2 changed files with 2 additions and 2 deletions

View File

@ -282,6 +282,6 @@ rm transform.xsl
mv temp.svg $file.svg
if [ $isSvgz = 1 ]; then
gzip $file.svg
gzip -n $file.svg
mv $file.svg.gz $file.svgz
fi

View File

@ -19,5 +19,5 @@ echo Processing $file
/usr/bin/perl -p -i -e "s/color:#[^;]*;(.*)fill:currentColor/\1fill:currentColor/g" $file.svg
gzip $file.svg
gzip -n $file.svg
mv $file.svg.gz $file.svgz