Commit bad63186 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

packagekit: fix opening files on archlinux

Now they're zstd files
parent 472a7613
......@@ -512,6 +512,7 @@ ResultsStream * PackageKitBackend::findResourceByPackageName(const QUrl& url)
if ( mime.inherits(QStringLiteral("application/vnd.debian.binary-package"))
|| mime.inherits(QStringLiteral("application/x-rpm"))
|| mime.inherits(QStringLiteral("application/x-tar"))
|| mime.inherits(QStringLiteral("application/x-zstd-compressed-tar"))
|| mime.inherits(QStringLiteral("application/x-xz-compressed-tar"))
) {
return new ResultsStream(QStringLiteral("PackageKitStream-localpkg"), QVector<AbstractResource*>{ new LocalFilePKResource(url, this)});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment