X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;ds=sidebyside;f=lighttpd-mime.types.sh;h=5252638ff7cc945ab38c71d9d9a2565be0205bea;hb=4b37c9295d1158cde3598d13d933c2a9c67cd468;hp=6acbe063863bfec2f21a66b1903285b680e68b6c;hpb=f9a4b2d7978eae5646b9dd30d57f2a86def197c8;p=packages%2Flighttpd.git diff --git a/lighttpd-mime.types.sh b/lighttpd-mime.types.sh index 6acbe06..5252638 100644 --- a/lighttpd-mime.types.sh +++ b/lighttpd-mime.types.sh @@ -19,7 +19,7 @@ awk '{ charset = ""; # add charset for "text/*" types if (type ~ "text/") { - type = "\"" type "; charset=\" + mimetype_textcharset" + type = "\"" type "\" + mimetype_textcharsetheader" } else { type = "\"" type "\"" } @@ -41,7 +41,13 @@ mv -f mime.types.conf mime.types.conf.tmp # header cat >> mime.types.conf <