OSX gets confused when you have two ways to start the same program.

svn:r6915
This commit is contained in:
Andrew Lewman 2006-07-27 03:10:23 +00:00
parent 8ae177dad6
commit 1ee13cff67

View File

@ -124,6 +124,7 @@ fi
# Determine how to start by OS Version
if [ $OS = "tiger" ]; then
if [ -f $PACKAGE_PATH/Contents/Resources/net.freehaven.tor.plist ]; then
rm -f /Library/StartupItems/Tor
cp $PACKAGE_PATH/Contents/Resources/net.freehaven.tor.plist /System/Library/LaunchDaemons/net.freehaven.tor.plist
chmod 644 /System/Library/LaunchDaemons/net.freehaven.tor.plist
echo "#--START required settings--" >> $TARGET/torrc