Procházet zdrojové kódy

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

svn:r6915
Andrew Lewman před 19 roky
rodič
revize
1ee13cff67
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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