From 135dee0367e88d60a0b4df1bb4914f788855bee3 Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Sun, 4 Dec 2011 14:37:10 +0100 Subject: [PATCH] forward port fix for bug #252612 from 6ed9229f4b2df1d98821bef5ab7a361b5dea9ffa in KDE/4.7 branch --- package.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.cpp b/package.cpp index a27457471..ef29b5e09 100644 --- a/package.cpp +++ b/package.cpp @@ -280,8 +280,8 @@ KPluginInfo Package::metadata() const if (mimeType->is("application/zip")) { archive = new KZip(d->path); - } else if (mimeType->is("application/x-compressed-tar") || - mimeType->is("application/x-tar")|| mimeType->is("application/x-bzip-compressed-tar")) { + } else if (mimeType->is("application/x-compressed-tar") || mimeType->is("application/x-gzip") || + mimeType->is("application/x-tar") || mimeType->is("application/x-bzip-compressed-tar")) { archive = new KTar(d->path); } else { kWarning() << "Could not open package file, unsupported archive format:" << d->path << mimeType->name();