On Aug 17, 2011, at 4:56 PM, Andrew Pennebaker wrote:

> Can someone make a PKG Mac installer that adds the factor binary to $PATH? I 
> tried using PackageMaker.app, but I can't figure out how to run cli.sh as a 
> postinstall script.
> 
> cli.sh:
> 
> #!/usr/bin/env sh
> echo "\n# Factor\nexport PATH=\$PATH:/Applications/factor" >> ~/.profile

Mac installers shouldn't mess with your configuration. That should be left to 
the user. Your installer could perhaps put a script in /usr/local/bin to start 
Factor from /Applications/factor.

-Joe

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

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to