diff --git a/package.cpp b/package.cpp index 4c00d368e..9d05a8dd9 100644 --- a/package.cpp +++ b/package.cpp @@ -509,7 +509,8 @@ bool Package::installPackage(const QString &package, if (mimetype->is("application/zip")) { archive = new KZip(package); } else if (mimetype->is("application/x-compressed-tar") || - mimetype->is("application/x-tar")|| mimetype->is("application/x-bzip-compressed-tar")) { + mimetype->is("application/x-tar")|| mimetype->is("application/x-bzip-compressed-tar") || + mimetype->is("application/x-xz") || mimetype->is("application/x-lzma")) { archive = new KTar(package); } else { kWarning() << "Could not open package file, unsupported archive format:" << package << mimetype->name();