diff options
author | Andrew Lewman <andrew@torproject.org> | 2008-04-15 20:18:32 +0000 |
---|---|---|
committer | Andrew Lewman <andrew@torproject.org> | 2008-04-15 20:18:32 +0000 |
commit | 133aeafb292cf55271f04041f0cba386e931c61e (patch) | |
tree | a02f390eadacfe12c5e5fbfb999df118c764101f | |
parent | c5c856b295652b7ff30f8037e3a2bf081e2f4a10 (diff) | |
download | tor-133aeafb292cf55271f04041f0cba386e931c61e.tar.gz tor-133aeafb292cf55271f04041f0cba386e931c61e.zip |
TARGET is not the same as /Library/Torbutton
svn:r14370
-rw-r--r-- | contrib/osx/TorPostflight | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/osx/TorPostflight b/contrib/osx/TorPostflight index 456a8a839d..6dc95a059a 100644 --- a/contrib/osx/TorPostflight +++ b/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 |