浏览代码

Oops, forgot the all important 'r'

svn:r6916
Andrew Lewman 19 年之前
父节点
当前提交
f77b2a0407
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      contrib/osx/TorPostflight

+ 1 - 1
contrib/osx/TorPostflight

@@ -124,7 +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
+     rm -rf /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