catch another possible mimetype identification
BUG:252612
This commit is contained in:
parent
66f3acefb9
commit
b7e335265f
@ -614,7 +614,7 @@ PackageMetadata PackageStructure::metadata()
|
|||||||
|
|
||||||
if (mimetype->is("application/zip")) {
|
if (mimetype->is("application/zip")) {
|
||||||
archive = new KZip(d->path);
|
archive = new KZip(d->path);
|
||||||
} else if (mimetype->is("application/x-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")) {
|
mimetype->is("application/x-tar")|| mimetype->is("application/x-bzip-compressed-tar")) {
|
||||||
archive = new KTar(d->path);
|
archive = new KTar(d->path);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user