[MacPorts] #45396: shared-mime-info @1.3 update-mime-database output is not removed on deactivate
MacPorts
noreply at macports.org
Mon Jun 5 13:39:29 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 mascguy):
Replying to [comment:24 RJVB]:
> I count less than 30 ports which call `update-mime-database` so removing
the few lines isn't that enormous a task.
True, but I'd rather keep those in place, in case we follow a different
approach long-term.
> 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.
Yep, agreed... that would be a better option.
--
Ticket URL: <https://trac.macports.org/ticket/45396#comment:25>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list