diff --git a/xsoft/graphweb/firefox.xml b/xsoft/graphweb/firefox.xml
index b1ed0b0870..8ae7c2b5ec 100644
--- a/xsoft/graphweb/firefox.xml
+++ b/xsoft/graphweb/firefox.xml
@@ -178,11 +178,12 @@ EOF
root user, install the
package:
-tar -xfv firefox-build-dir/dist/firefox-*.tar.bz2 -C /usr/lib &&
-ln -sfv ../lib/firefox/firefox /usr/bin/firefox &&
+mkdir /usr/lib/firefox-&firefox-version; &&
+tar -xfv firefox-build-dir/dist/firefox-*.tar.bz2 -C /usr/lib/firefox-&firefox-version; --strip-components=1 &&
+ln -sfv ../lib/firefox-&firefox-version;/firefox /usr/bin/firefox &&
mkdir -p /usr/lib/mozilla/plugins &&
-ln -sv ../mozilla/plugins /usr/lib/firefox &&
-chown -R -v root:root /usr/lib/firefox
+ln -sv ../mozilla/plugins /usr/lib/firefox-&firefox-version; &&
+chown -R -v root:root /usr/lib/firefox-&firefox-version;If you have installed Firefox linked
against an already installed Xulrunner, as the
@@ -214,10 +215,12 @@ chown -R -v root:root /usr/lib/firefox-&firefox-version;
this creates a Firefox tarball.tar -xfv firefox-build-dir/dist ...: This untars
- Firefox in /usr/lib. Untaring it (instead of
- running make install) prevents it installing
- /usr/lib/firefox-devel-&firefox-version; which contains about 430 MB of
- files. If you need any of those files, they're in
+ Firefox in /usr/lib. The
+ option removes the leading
+ 'firefox' directory from the filenames, allowing us to untar it
+ into a versioned directory. Untaring it (instead of running make install)
+ prevents it installing /usr/lib/firefox-devel-&firefox-version; which
+ contains about 430 MB of files. If you need any of those files, they're in
make -C firefox-build-dir install: This runs
@@ -247,10 +250,8 @@ chown -R -v root:root /usr/lib/firefox-&firefox-version;
firefoxNumerous libraries, browser components, plugins, extensions, and
helper modules installed in /usr/lib/firefox or /usr/lib/firefox-&firefox-version;
- (depending whether you untared it or ran make install)
- /usr/lib/firefox
+ class='directory'>/usr/lib/firefox-&firefox-version;.
+ /usr/lib/firefox-&firefox-version;