Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Launch fink apps from xterm in Apple's X11' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Launch fink apps from xterm in Apple's X11
Authored by: gshenaut on Jun 21, '04 02:01:02PM
I use ksh, but this would also work for bash and other sh derivatives:
if [ -e /sw/bin/init.sh ] ; then
    . /sw/bin/init.sh
fi
The "if" will avoid error messages if fink isn't installed. It probably wouldn't be a bad idea to do something like that with *csh too.

Greg Shenaut

[ Reply to This | # ]