diff --git a/src/odt.c b/src/odt.c index cda5ece..60fe465 100644 --- a/src/odt.c +++ b/src/odt.c @@ -73,7 +73,7 @@ createOutputDocument(const char* const outputFilename, const char* const tempDir if ((child_pid = fork()) == 0) { /* you are the child */ char outputRealPath[FILENAME_MAX]; - char* const args[] = { "zip", "-r", outputRealPath, ".", NULL }; + char* const args[] = { "zip", "-r", outputRealPath, "mimetype", ".", NULL }; realpath(outputFilename, outputRealPath); chdir(tempDir); freopen("/dev/null", "w", stdout);