소스 검색

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

svn:r6915
Andrew Lewman 19 년 전
부모
커밋
1ee13cff67
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      contrib/osx/TorPostflight

+ 1 - 0
contrib/osx/TorPostflight

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