summaryrefslogtreecommitdiff
path: root/firefox.sh.in
diff options
context:
space:
mode:
authorChristopher Aillon <caillon@redhat.com>2011-03-12 20:22:00 -0800
committerChristopher Aillon <caillon@redhat.com>2011-03-18 15:00:19 -0700
commit49840edf8c43532d722c3200983087d0b1445814 (patch)
tree4102bdb77620253166d4cd16e3d9dcc314fce45b /firefox.sh.in
parentRefactor the langpack symlink creation stuff at startup (diff)
downloadlibrewolf-fedora-ff-49840edf8c43532d722c3200983087d0b1445814.tar.gz
librewolf-fedora-ff-49840edf8c43532d722c3200983087d0b1445814.tar.bz2
librewolf-fedora-ff-49840edf8c43532d722c3200983087d0b1445814.zip
Install langpacks as .xpi files instead of unpacking them
This helps performance of the browser, notably at startup, as it needs to open less files. http://blog.mozilla.com/tglek/2010/03/11/extensions-startup/
Diffstat (limited to 'firefox.sh.in')
-rw-r--r--firefox.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/firefox.sh.in b/firefox.sh.in
index 656f0e4..d2dcef5 100644
--- a/firefox.sh.in
+++ b/firefox.sh.in
@@ -194,8 +194,8 @@ if [ $MOZILLA_DOWN -ne 0 ]; then
function create_langpack_link() {
local language=$*
- local langpack=langpack-${language}@firefox.mozilla.org
- if [ -f $MOZ_LANGPACKS_DIR/$langpack/chrome.manifest ]; then
+ local langpack=langpack-${language}@firefox.mozilla.org.xpi
+ if [ -f $MOZ_LANGPACKS_DIR/$langpack ]; then
rm -rf $MOZ_EXTENSIONS_PROFILE_DIR/$langpack
ln -s $MOZ_LANGPACKS_DIR/$langpack \
$MOZ_EXTENSIONS_PROFILE_DIR/$langpack
bgstack15