summaryrefslogtreecommitdiffstats
path: root/ark/archiveformatinfo.cpp
diff options
context:
space:
mode:
authorAntonio Diaz Diaz <antonio@gnu.org>2018-08-16 01:23:11 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-08-16 01:23:46 +0200
commit4a66f15d28b50197e79974c6ff81e67f908b4eb1 (patch)
tree8f177bfef4a3fe664121565c71ad2adaac347e6f /ark/archiveformatinfo.cpp
parentfdac7d46bc06da8ef7b404898b831cc1ebc6c94f (diff)
downloadtdeutils-4a66f15d28b50197e79974c6ff81e67f908b4eb1.tar.gz
tdeutils-4a66f15d28b50197e79974c6ff81e67f908b4eb1.zip
Ark: Add support for Lzip
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ark/archiveformatinfo.cpp')
-rw-r--r--ark/archiveformatinfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ark/archiveformatinfo.cpp b/ark/archiveformatinfo.cpp
index 93cf928..c99ef56 100644
--- a/ark/archiveformatinfo.cpp
+++ b/ark/archiveformatinfo.cpp
@@ -53,7 +53,7 @@ void ArchiveFormatInfo::buildFormatInfos()
addFormatInfo( TAR_FORMAT, "application/x-tzo", ".tar.lzo" );
addFormatInfo( TAR_FORMAT, "application/x-tarz", ".tar.z" );
addFormatInfo( TAR_FORMAT, "application/x-tbz", ".tar.bz2" );
- addFormatInfo( TAR_FORMAT, "application/x-tlz", ".tar.lzma" );
+ addFormatInfo( TAR_FORMAT, "application/x-tlz", ".tar.lz" );
addFormatInfo( TAR_FORMAT, "application/x-tar", ".tar" );
addFormatInfo( LHA_FORMAT, "application/x-lha", ".lha" );
@@ -65,6 +65,7 @@ void ArchiveFormatInfo::buildFormatInfos()
addFormatInfo( COMPRESSED_FORMAT, "application/x-gzip", ".gz" );
addFormatInfo( COMPRESSED_FORMAT, "application/x-bzip", ".bz" );
addFormatInfo( COMPRESSED_FORMAT, "application/x-bzip2", ".bz2" );
+ addFormatInfo( COMPRESSED_FORMAT, "application/x-lzip", ".lz" );
addFormatInfo( COMPRESSED_FORMAT, "application/x-lzma", ".lzma" );
addFormatInfo( COMPRESSED_FORMAT, "application/x-lzop", ".lzo" );
addFormatInfo( COMPRESSED_FORMAT, "application/x-compress", ".Z" );