[MacPorts] #45396: shared-mime-info @1.3 update-mime-database output is not removed on deactivate
MacPorts
noreply at macports.org
Sun Jun 4 20:25:28 UTC 2023
#45396: shared-mime-info @1.3 update-mime-database output is not removed on
deactivate
-------------------------------+--------------------
Reporter: bgilbert | Owner: RJVB
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: fixed | Keywords:
Port: shared-mime-info |
-------------------------------+--------------------
Comment (by RJVB):
I count less than 30 ports which call `update-mime-database` so removing
the few lines isn't impossible.
Rather than making `update-mime-database` a stub, make it touch
`$prefix/share/mime/packages/freedesktop.org.xml` or maybe even
`/opt/local/share/mime/packages` (cannot test right now if that would also
trigger the updater).
That way the command retains its effect but should no longer be able to
cause a race condition.
--
Ticket URL: <https://trac.macports.org/ticket/45396#comment:24>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list