diff --git a/fact_helper_file/mime/custom_mime_archives b/fact_helper_file/mime/custom_mime_archives index 16c3762..96d9499 100644 --- a/fact_helper_file/mime/custom_mime_archives +++ b/fact_helper_file/mime/custom_mime_archives @@ -139,7 +139,9 @@ !:mime application/x-shar # ar archive -0 string =!\n current ar archive +# we don't want to match .deb archives here and negative lookahead is not allowed +# this should be equivalent to '!\n(?!deb)' +0 regex =!\n([^d]..|.[^e].|..[^b]|$) current ar archive !:mime application/x-archive -0 string = System V Release 1 ar archive +0 string = System V Release 1 ar archive !:mime application/x-archive diff --git a/pyproject.toml b/pyproject.toml index 0f47cbf..5adc8b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta" [project] name = "fact_helper_file" -version = "0.2.15" +version = "0.2.16" authors = [ {name = "Johannes vom Dorp"} ]