backport r14370

svn:r14371
This commit is contained in:
Andrew Lewman 2008-04-15 20:19:19 +00:00
parent 1e17860d20
commit 5f85fc9681
1 changed files with 2 additions and 2 deletions

View File

@ -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