It has, with your help ;-) , set up the preferences for Terminal.app in
such a way that it reruns the pathsetup.command script each time it
opens a terminal window. You have to repair these preferences

This seems to happen with a fairly high degree of frequency and is a typical question asked on the Apple unix bb. I've answered it at least 10 times. I wonder if there might be a better way to have the installer do this? An applescript (or osascript) "do shellscript" command would eliminate the need for having to open up a terminal window, and presumably would then eliminate the possibility for the terminal preference file getting corrupted. If the output really does need to be read, it could be piped into a log file and that file then opened in the Console application to display its contents (open foo.log opens a log file and lets it scroll dynamically like a tail -999cf foo.log command).


Also, while I am at it, wouldn't it be better to have the lines dumped into the startup file look something like the following?

if [[ -f /sw/bin/init.sh ]]; then
. /sw/bin/init.sh
else
echo " WARNING!! Fink does not appear to be present and has not been initialized."
fi


That way if the user (re)moves /sw their startup script won't fail.

Bill





-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to