@pmatilai commented on this pull request.


> @@ -216,6 +216,8 @@ int rpmFileIsCompressed(const char * file, 
> rpmCompressedMagic * compressed)
        *compressed = COMPRESSED_LZMA;
     } else if (rpmFileHasSuffix(file, ".gem")) {
        *compressed = COMPRESSED_GEM;
+    } else if (rpmFileHasSuffix(file, ".car")) {
+       *compressed = COMPRESSED_CAR;

Ack, using magic were it exists but falling back to extension sounds reasonable.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/4109#discussion_r2883335089
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/4109/review/[email protected]>
_______________________________________________
Rpm-maint mailing list
[email protected]
https://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to