Re: Leopard Migration Hammered Mutt
On Sun, Jan 27, 2008 at 09:31:17PM CST, Bill <c4c4@xxxxxxxxxxx> wrote:
>
> Since I would like to add /sw/bin to my /etc/profile I opened it, but only
> discovered:
> ___________________________________________________________
>
> # System-wide .profile for sh(1)
>
> if [ -x /usr/libexec/path_helper ]; then
> eval `/usr/libexec/path_helper -s`
> fi
>
> if [ "${BASH-no}" != "no" ]; then
> [ -r /etc/bashrc ] && . /etc/bashrc
> fi
> ___________________________________________________________
>
> This is not what I expected, and can't think of where I should add /sw/bin/
> to my path.
Forget messing with /etc/profile. Did you try my suggestion?
A short time ago, Eugene wrote:
>
> /sw indicates Fink.
>
> <http://www.finkproject.org/doc/bundled/install-fast.php>
> >
> > The last command runs a little script to help set up your Unix paths
> > (and other things) for use with Fink. In most cases, it will run
> > automatically, and prompt you for permission to make changes. If the
> > script fails, you'll have to do things by hand.
> >
> > (If you need to do things by hand, and you are using csh or tcsh, you
> > need to make sure that the command source /sw/bin/init.csh is executed
> > during startup of your shell, either by .login, .cshrc, .tcshrc, or
> > something else appropriate. If you are using bash or similar shells,
> > the command you need is . /sw/bin/init.sh, and places where it might
> > get executed include .bashrc and .profile.)
>
> So basically add the line ". /sw/bin/init.sh" into your ~/.profile or
> ~/.bash_profile init files. This should add /sw/bin to your PATH, and
> set up other Fink-related environment variables as well.
--
Eugene