From e0a661d7ae64366121ded1fde61649979efbc128 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Mon, 17 Jan 2011 12:39:07 -0600 Subject: [PATCH] Added MIME type detected on Debian platform for cpio archives. --- doc/changelog.txt | 1 + patoolib/util.py | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/changelog.txt b/doc/changelog.txt index 869ba23..27ac54b 100644 --- a/doc/changelog.txt +++ b/doc/changelog.txt @@ -1,6 +1,7 @@ 0.13 "" (released xx.xx.xxxx) * Fix command argument order when extracting cpio archives. + * Added correct cpio MIME type on Debian systems. 0.12 "Galaxy Quest" (released 20.11.2010) diff --git a/patoolib/util.py b/patoolib/util.py index 5d152fb..5db3c7a 100644 --- a/patoolib/util.py +++ b/patoolib/util.py @@ -212,6 +212,7 @@ FileText2Mime = { "ARJ archive data": "application/x-arj", "bzip2 compressed data": "application/x-bzip2", "cpio archive": "application/x-cpio", + "ASCII cpio archive": "application/x-cpio", "Debian binary package": "application/x-debian-package", "gzip compressed data": "application/x-gzip", "lzop compressed data": "application/x-lzop",