MacPorts shell mode

pagani laurent laurent.pagani at laposte.net
Thu Oct 19 01:03:01 UTC 2017


> Le 19 oct. 2017 à 02:37, Bradley Giesbrecht <pixilla at macports.org> a écrit :
> 
>> On Oct 18, 2017, at 5:31 PM, pagani laurent via macports-users <macports-users at lists.macports.org> wrote:
>> 
>> Hi all,
>> 
>> Reading the mails on this list, I discovered the Shell mode option (sudo port without argument) which would allow in principle to launch several commands without repeating sudo port each time (and typing the passwd). But once in that mode, I typed selfupdate and was exited from the the mode after completion! Could not run upgrade outdated in the wake… In that case, what’s the use of such a shell mode ?
> 
> Selfupdate updates port itself (base). Probably makes sense to exit current running port after such an update. Could it recognize it was in shell mode spawn new port command? I don’t know.

Yes, of course. The update moved port from 2.4.1 to 2.4.2 therefore it makes sense to exit to run the new version. I did not realize. Thanks.

Laurent

> 
>> Brad

"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème" (devise Shadok)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20171019/531aea5c/attachment.html>


More information about the macports-users mailing list