Update 'Minify/minify_and_precompression.sh'

This commit is contained in:
bprieshof
2019-01-24 14:48:56 +01:00
parent b1f59b657e
commit 228c5e6240

View File

@@ -11,4 +11,7 @@ find $outputfolder/ -type f \( -name '*.html' -o -name '*.js' -o -name '*.json'
find $outputfolder/ -type f \( -name '*.html' -o -name '*.js' -o -name '*.json' -o -name '*.htm' -o -name '*.css' -o -name '*.xml' -o -name '*.svg' \) -exec gzip -v -k -f --best {} \;
cp $outputfolder/*.{br,gz} $nginxfolder/
cd $outputfolder
cp --parents `find -name \*.br*` /${nginxfolder}/
cp --parents `find -name \*.gz*` /${nginxfolder}/