Explorar o código

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

svn:r6915
Andrew Lewman %!s(int64=19) %!d(string=hai) anos
pai
achega
1ee13cff67
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      contrib/osx/TorPostflight

+ 1 - 0
contrib/osx/TorPostflight

@@ -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