[MacPorts] #44509: selfupdate tried to tell me to run selfupdate again
MacPorts
noreply at macports.org
Thu Jul 31 11:52:56 PDT 2014
#44509: selfupdate tried to tell me to run selfupdate again
---------------------+--------------------------------
Reporter: dave@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.1
Resolution: | Keywords: selfupdate
Port: |
---------------------+--------------------------------
Comment (by dave@…):
MacPorts could write out a tiny trampoline program to /tmp,
make it unwritable then setuid root,
exec it,
then it execs (the new) MacPorts,
which deletes the trampoline program
and continues.
Code to do this is probably in a library somewhere, or it should be.
This trick would not only solve the problem posed in this report, but it
would allow selfupdate to become an option, not a command to be run by
itself and waited for.
Seems like a minor price to pay for a better user experience, no?
Many apps on the Mac can update themselves. Firefox, for one.
--
Ticket URL: <https://trac.macports.org/ticket/44509#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list