[MacPorts] #45396: shared-mime-info @1.3 update-mime-database output is not removed on deactivate

MacPorts noreply at macports.org
Sun Jun 4 18:09:44 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):

 There's one minor thing we missed, when merging the new daemon-based
 automatic refresh: Ports that explicitly try to update the MIME db during
 `post-activate`, fail (depending on the exact timing of when the former
 runs):

 {{{
     Failed to rename /opt/local/share/mime/inode/socket.xml.new as
 /opt/local/share/mime/inode/socket.xml: No such file or directory
     Command failed: /opt/local/bin/update-mime-database
 /opt/local/share/mime
     Exit code: 1
 }}}

 But rather than modify the numerous ports that have that already in place,
 it would be easier to simply make the existing binary a stub (with the
 real one renamed).

 I'll tackle that today, if possible.

-- 
Ticket URL: <https://trac.macports.org/ticket/45396#comment:23>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list