From 49840edf8c43532d722c3200983087d0b1445814 Mon Sep 17 00:00:00 2001 From: Christopher Aillon Date: Sat, 12 Mar 2011 20:22:00 -0800 Subject: 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/ --- firefox.sh.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firefox.sh.in') 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 -- cgit