mime_db: Sniff rule must be on one line.

This commit is contained in:
Augustin Cavalier 2019-01-27 13:42:27 -05:00
parent ae3a28bef3
commit b2d62af35a
18 changed files with 18 additions and 37 deletions

View File

@ -3,8 +3,7 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "application/vnd.oasis.opendocument.base";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\")
[0:512] (\"oasis.opendocument.base\")";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\") [0:512](\"oasis.opendocument.base\")";
resource(3, "META:S:DESC") #'MSDC' "OpenDocument Database";

View File

@ -3,8 +3,7 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "application/vnd.oasis.opendocument.chart";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\")
[0:512] ( -i \"chart-template\" | \"oasis.opendocument.chart\")";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\") [0:512]( -i \"chart-template\" | \"oasis.opendocument.chart\")";
resource(3, "META:S:DESC") #'MSDC' "OpenDocument Chart";

View File

@ -3,8 +3,7 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "application/vnd.oasis.opendocument.chart-template";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\")
[0:512] (\"oasis.opendocument.chart-template\")";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\") [0:512](\"oasis.opendocument.chart-template\")";
resource(3, "META:S:DESC") #'MSDC' "OpenDocument Chart Template";

View File

@ -3,8 +3,7 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "application/vnd.oasis.opendocument.database";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\")
[0:512] (\"oasis.opendocument.database\")";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\") [0:512](\"oasis.opendocument.database\")";
resource(3, "META:S:DESC") #'MSDC' "OpenDocument Database";

View File

@ -3,8 +3,7 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "application/vnd.oasis.opendocument.formula";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\")
[0:512] ( -i \"formula-template\" | \"oasis.opendocument.formula\")";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\") [0:512]( -i \"formula-template\" | \"oasis.opendocument.formula\")";
resource(3, "META:S:DESC") #'MSDC' "OpenDocument Formula";

View File

@ -3,8 +3,7 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "application/vnd.oasis.opendocument.formula-template";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\")
[0:512] (\"oasis.opendocument.formula-template\")";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\") [0:512](\"oasis.opendocument.formula-template\")";
resource(3, "META:S:DESC") #'MSDC' "OpenDocument Formula Template";

View File

@ -3,8 +3,7 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "application/vnd.oasis.opendocument.graphics";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\")
[0:512] ( -i "\graphics-template\" | \"oasis.opendocument.graphics\")";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\") [0:512]( -i "\graphics-template\" | \"oasis.opendocument.graphics\")";
resource(3, "META:S:DESC") #'MSDC' "OpenDocument Drawing";

View File

@ -3,8 +3,7 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "application/vnd.oasis.opendocument.graphics-template";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\")
[0:512] (\"oasis.opendocument.graphics-template\")";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\") [0:512](\"oasis.opendocument.graphics-template\")";
resource(3, "META:S:DESC") #'MSDC' "OpenDocument Drawing Template";

View File

@ -3,8 +3,7 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "application/vnd.oasis.opendocument.image";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\")
[0:512] ( -i \"image-template\" | \"oasis.opendocument.image\")";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\") [0:512]( -i \"image-template\" | \"oasis.opendocument.image\")";
resource(3, "META:S:DESC") #'MSDC' "OpenDocument Image";

View File

@ -3,8 +3,7 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "application/vnd.oasis.opendocument.image-template";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\")
[0:512] (\"oasis.opendocument.image-template\")";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\") [0:512](\"oasis.opendocument.image-template\")";
resource(3, "META:S:DESC") #'MSDC' "OpenDocument Image Template";

View File

@ -4,8 +4,7 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE")
"application/vnd.oasis.opendocument.presentation";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\")
[0:512] ( -i \"presentation-template\" | \"oasis.opendocument.presentation\")";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\") [0:512]( -i \"presentation-template\" | \"oasis.opendocument.presentation\")";
resource(3, "META:S:DESC") #'MSDC' "OpenDocument Presentation";

View File

@ -4,8 +4,7 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE")
"application/vnd.oasis.opendocument.presentation-template";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\")
[0:512] (\"oasis.opendocument.presentation-template\")";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\") [0:512](\"oasis.opendocument.presentation-template\")";
resource(3, "META:S:DESC") #'MSDC' "OpenDocument Presentation Template";

View File

@ -4,8 +4,7 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE")
"application/vnd.oasis.opendocument.spreadsheet";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\")
[0:512] ( -i \"spreadsheet-template\" | \"oasis.opendocument.spreadsheet\")";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\") [0:512]( -i \"spreadsheet-template\" | \"oasis.opendocument.spreadsheet\")";
resource(3, "META:S:DESC") #'MSDC' "OpenDocument Spreadsheet";

View File

@ -4,8 +4,7 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE")
"application/vnd.oasis.opendocument.spreadsheet-template";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\")
[0:512] (\"oasis.opendocument.spreadsheet-template\")";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\") [0:512](\"oasis.opendocument.spreadsheet-template\")";
resource(3, "META:S:DESC") #'MSDC' "OpenDocument Spreadsheet Template";

View File

@ -3,9 +3,7 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "application/vnd.oasis.opendocument.text";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\")
[0:512] ( -i \"text-web\" | -i \"text-master\" | -i \"text-template\" |
\"oasis.opendocument.text\")";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\") [0:512]( -i \"text-web\" | -i \"text-master\" | -i \"text-template\" | \"oasis.opendocument.text\")";
resource(3, "META:S:DESC") #'MSDC' "OpenDocument Text";

View File

@ -3,8 +3,7 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "application/vnd.oasis.opendocument.text-master";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\")
[0:512] ( \"oasis.opendocument.text-master\")";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\") [0:512]( \"oasis.opendocument.text-master\")";
resource(3, "META:S:DESC") #'MSDC' "OpenDocument Master Document";

View File

@ -3,8 +3,7 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "application/vnd.oasis.opendocument.text-template";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\")
[0:512] (\"oasis.opendocument.text-template\")";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\") [0:512](\"oasis.opendocument.text-template\")";
resource(3, "META:S:DESC") #'MSDC' "OpenDocument Text Template";

View File

@ -3,8 +3,7 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "application/vnd.oasis.opendocument.text-web";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\")
[0:512] (\"oasis.opendocument.text-web\")";
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\") [0:512](\"oasis.opendocument.text-web\")";
resource(3, "META:S:DESC") #'MSDC' "OpenDocument Web Page Template";