Merge pull request #13429 from nextcloud/optimization-syntax

Switch around syntax of scour command for SVG image optimization
This commit is contained in:
Morris Jobke 2019-01-08 18:48:59 +01:00 committed by GitHub
commit c3e2a68b58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ jpegoptim --strip-all *.jpg;
for svg in `ls *.svg`;
do
mv $svg $svg.opttmp;
scour -i $svg.opttmp -o $svg --create-groups --enable-id-stripping --enable-comment-stripping --shorten-ids --remove-metadata --strip-xml-prolog --no-line-breaks;
scour --create-groups --enable-id-stripping --enable-comment-stripping --shorten-ids --remove-metadata --strip-xml-prolog --no-line-breaks -i $svg.opttmp -o $svg;
done;
rm *.opttmp
for dir in `ls -d */`;