On Sat, Jan 21, 2023 at 11:50 AM Michael J Gruber <m...@fedoraproject.org> 
wrote:
>
> I have two packages which install identical files under the same name in the 
> same locations (/usr/share/icons/hicolor/256x256/mimetypes/ and the like). 
> `dnf install` does not warn about conflicts, `rpm -qf` shows both packages as 
> owner, `dnf erase`ing one leaves the files in place, erasing the last one 
> erases the file.
>
> Now, this is all works better than I would have hoped for. Does this work by 
> a general mechanism (inclding checksumming), or is this special cased for the 
> mimetype icons, or an artefact of installing both packages within the same 
> install command?

You've guessed correctly on the general mechanism. If the file name,
mode, and checksum match, it's automatically co-owned.



-- 
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to