瀏覽代碼

TARGET is not the same as /Library/Torbutton

svn:r14370
Andrew Lewman 17 年之前
父節點
當前提交
133aeafb29
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      contrib/osx/TorPostflight

+ 2 - 2
contrib/osx/TorPostflight

@@ -122,8 +122,8 @@ if [ -d /Library/StartupItems/Tor ]; then
 fi
 
 if [ -f /Applications/Firefox.app/Contents/MacOS/firefox ]; then
-  if [ -f $TARGET/torbutton-$TORBUTTON_VERSION.xpi ]; then
+  if [ -f /Library/Torbutton/torbutton-$TORBUTTON_VERSION.xpi ]; then
 # Open firefox with a prompt to install the torbutton xpi
-      su $USER open -a /Applications/Firefox.app $TARGET/torbutton-$TORBUTTON_VERSION.xpi
+      su $USER open -a /Applications/Firefox.app /Library/Torbutton/torbutton-$TORBUTTON_VERSION.xpi
   fi
 fi