Due to missing comma, quark didn't handle shell scripts correctly and
uses 'application/octet-stream' mime type for them.

Detected when building with '-Wextra' gcc flag.

Signed-off-by: Boris Egorov <[email protected]>
---
 config.def.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config.def.h b/config.def.h
index a17a84b..0dc9cb1 100644
--- a/config.def.h
+++ b/config.def.h
@@ -19,7 +19,7 @@ static const MimeType servermimes[] = {
        { "c",    "text/plain" },
        { "h",    "text/plain" },
        { "go",   "text/plain" },
-       { "sh"    "text/plain" },
+       { "sh",   "text/plain" },
        { "log",  "text/plain" },
        { "txt",  "text/plain" },
        { "md",   "text/plain" },
-- 
2.1.4


Reply via email to