Sudo: needed?
Ryan Schmidt
ryandesign at macports.org
Wed Feb 13 13:54:11 PST 2013
On Feb 13, 2013, at 05:53, Eneko Gotzon Ares wrote:
> On Feb 13, 2013, at 7:26 AM, Ryan Schmidt wrote:
>
>> port upgrade outdated
> The absence of reference to the "sudo" code in such kind of messages led me to doubt.
>
>> MacPorts base figure out if running as root and adjust messages…
>
> For beginners –like me– it would be a valuable information.
>
> Thank you :)
We should also consider that it's not just base that needs to print messages like these; ports sometimes do too. If there were a variable, which MacPorts base could set to either "port" or "sudo port" as needed, then ports could use that variable when constructing their notes or messages.
More information about the macports-users
mailing list