Browse Source

TARGET is not the same as /Library/Torbutton

svn:r14370
Andrew Lewman 17 years ago
parent
commit
133aeafb29
1 changed files with 2 additions and 2 deletions
  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