]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Actually get torbutton to install into Firefox
authorAndrew Lewman <andrew@torproject.org>
Sun, 30 Mar 2008 04:09:48 +0000 (04:09 +0000)
committerAndrew Lewman <andrew@torproject.org>
Sun, 30 Mar 2008 04:09:48 +0000 (04:09 +0000)
svn:r14238

contrib/osx/TorPostflight

index ca34c95065a9174d723421e3132b534354e9a5d2..00a91b9c99b727d44a084b16b128e4056d630010 100644 (file)
@@ -124,6 +124,6 @@ fi
 if [ -f /Applications/Firefox.app/Contents/MacOS/firefox ]; then
   if [ -f $TARGET/torbutton-$TORBUTTON_VERSION.xpi ]; then
 # Open firefox with a prompt to install the torbutton xpi
-      /Applications/Firefox.app/Contents/MacOS/firefox $TARGET/torbutton-$TORBUTTON_VERSION.xpi
+      su $USER /Applications/Firefox.app/Contents/MacOS/firefox $TARGET/torbutton-$TORBUTTON_VERSION.xpi
   fi
 fi