[MacPorts] #57698: Travis: Use the normal MacPorts installer

MacPorts noreply at macports.org
Sun Jan 6 09:41:03 UTC 2019


#57698: Travis: Use the normal MacPorts installer
-----------------------------+---------------------
  Reporter:  ryandesign      |      Owner:  admin@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  server/hosting  |    Version:
Resolution:                  |   Keywords:
      Port:                  |
-----------------------------+---------------------

Comment (by l2dy):

 Replying to [ticket:57698 ryandesign]:
 >  From my point of view, there is no need for this difference. It's no
 problem to install a .pkg from the command line using the `installer`
 command.

 It was done to skip the selfupdate in the postflight script, which would
 download and extract base and ports into
 `/opt/local/var/macports/sources`.
 https://github.com/macports/macports-
 base/blob/15c064eb508ce0c9bb82c8cfb216cd36ad1895d8/.travis.yml#L17

 {{{
 - sed -i "" "s/-v selfupdate/version/" portmgr/dmg/postflight
 - sudo install portmgr/dmg/postflight /opt/local/
 }}}

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


More information about the macports-tickets mailing list