[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[vidalia-svn] r2468: Update method of installation for torbutton. (vidalia/trunk/pkg/osx)
Author: phobos
Date: 2008-03-29 20:45:17 -0400 (Sat, 29 Mar 2008)
New Revision: 2468
Modified:
vidalia/trunk/pkg/osx/TorPostFlight
Log:
Update method of installation for torbutton.
Modified: vidalia/trunk/pkg/osx/TorPostFlight
===================================================================
--- vidalia/trunk/pkg/osx/TorPostFlight 2008-03-29 03:09:22 UTC (rev 2467)
+++ vidalia/trunk/pkg/osx/TorPostFlight 2008-03-30 00:45:17 UTC (rev 2468)
@@ -72,17 +72,7 @@
if [ -f /Applications/Firefox.app/Contents/MacOS/firefox ]; then
if [ -f /Library/Torbutton/torbutton-$TORBUTTON_VERSION.xpi ]; then
- /Applications/Firefox.app/Contents/MacOS/firefox -install-global-extension /Library/Torbutton/torbutton-$TORBUTTON_VERSION.xpi
-# The following is a kludge to get around the fact that the installer
-# runs as root. This means the Torbutton extension will install with
-# root permissions; thereby making uninstalling Torbutton from inside
-# Firefox impossible. The user will be caught in an endless loop of
-# uninstall -> automatic re-installation of Torbutton. The OSX
-# installer doesn't tell you the owner of Firefox, therefore we have to
-# parse it.
- USR=`ls -alrt /Applications/Firefox.app/Contents/MacOS/extensions/ | tail -1 | awk '{print $3}'`
- GRP=`ls -alrt /Applications/Firefox.app/Contents/MacOS/extensions/ | tail -1 | awk '{print $4}'`
- chown -R $USR:$GRP /Applications/Firefox.app/Contents/MacOS/extensions/
+ /Applications/Firefox.app/Contents/MacOS/firefox /Library/Torbutton/torbutton-$TORBUTTON_VERSION.xpi
fi
fi