fb0576afb5
ok ajacoutot@
14 lines
582 B
Plaintext
14 lines
582 B
Plaintext
$OpenBSD: patch-src_utils_e2_utils_c,v 1.4 2009/08/17 12:14:52 giovanni Exp $
|
|
Our file(1) doesn't have all that fancy options.
|
|
--- src/utils/e2_utils.c.orig Tue Jul 7 12:07:45 2009
|
|
+++ src/utils/e2_utils.c Fri Aug 14 10:45:11 2009
|
|
@@ -550,7 +550,7 @@ gchar *e2_utils_get_mimetype (VPATH *localpath)
|
|
}
|
|
#else
|
|
g_free (command);
|
|
- command = e2_utils_strcat ("file -bhprs --mime-type ", qp);
|
|
+ command = e2_utils_strcat ("file -bNs ", qp);
|
|
if (e2_fs_get_command_output (command, (gpointer *) &mime))
|
|
{
|
|
g_strstrip (mime); //strip trailing \n and any whitespace
|