Add .ttf files to pre-gzipped files

This commit is contained in:
Saivann 2015-06-24 22:56:32 -04:00
parent 94360fdbfd
commit 42cef24493

View file

@ -64,7 +64,7 @@ do
# Update site and exit if site has been successfully built # Update site and exit if site has been successfully built
if [ -e "$WORKDIR/_builddone" ]; then if [ -e "$WORKDIR/_builddone" ]; then
find $WORKDIR/_site \( -iname '*.html' -o -iname '*.css' -o -iname '*.js' -o -iname '*.svg' -o -iname '*.rss' -o -iname '*.xml' \) -exec gzip -9 -k {} \; find $WORKDIR/_site \( -iname '*.html' -o -iname '*.css' -o -iname '*.js' -o -iname '*.rss' -o -iname '*.xml' -o -iname '*.svg' -o -iname '*.ttf' \) -exec gzip -9 -k {} \;
rsync --delete -zrt $WORKDIR/_site/ $DESTDIR/ rsync --delete -zrt $WORKDIR/_site/ $DESTDIR/
exit exit
fi fi