>> Do we "do the right thing" by not having them use 'sudo' for LaunchAgents on 
>> Snow Leopard?
> 
> MacPorts does not make any difference between LaunchDaemons and
> LaunchAgents. The default for startupitem.location is LaunchDaemons and
> I am not aware of any port changing this setting. There are dbus and
> xinit installing LaunchAgents, but those use custom methods/messages.
> 
> It always prints 'sudo' in this message. I am not even sure if the
> command 'port load' works without root privileges...

I think we can add something like:

if {${build.asroot} == "yes"} {
 ui_msg (no newline) "sudo "
}
ui_msg "port load ${name}"

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to