Skip to content

Commit

Permalink
update inc/cpcheck.inc otf mime type check fix
Browse files Browse the repository at this point in the history
  • Loading branch information
centminmod committed Oct 30, 2016
1 parent f32e1d0 commit f5da9c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/cpcheck.inc
@@ -1,5 +1,5 @@
checkwoff() {
if [[ -f /usr/local/nginx/conf/mime.types && -z "$(grep woff2 /usr/local/nginx/conf/mime.types)" ]] || [[ -f /usr/local/nginx/conf/mime.types && -z "$(grep ott /usr/local/nginx/conf/mime.types)" ]]; then
if [[ -f /usr/local/nginx/conf/mime.types && -z "$(grep woff2 /usr/local/nginx/conf/mime.types)" ]] || [[ -f /usr/local/nginx/conf/mime.types && -z "$(grep otf /usr/local/nginx/conf/mime.types)" ]]; then
# check for woff2 and ott mime type support in nginx https://github.com/centminmod/centminmod/issues/60
mimefix 1
fi
Expand Down

0 comments on commit f5da9c6

Please sign in to comment.