[Frugalware-git] firefox4testing: * Fix build for firefox 4 location

jercel jercel16 at gmail.com
Wed Mar 23 22:21:46 CET 2011


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=firefox4testing.git;a=commitdiff;h=fd8a0cb4bb1bba828e893f540fcc90fcf3f8092d

commit fd8a0cb4bb1bba828e893f540fcc90fcf3f8092d
Author: jercel <jercel16 at gmail.com>
Date:   Wed Mar 23 22:20:50 2011 +0100

* Fix build for firefox 4 location

diff --git a/source/include/mozilla-i18n.sh b/source/include/mozilla-i18n.sh
index c66b985..a96b1ec 100644
--- a/source/include/mozilla-i18n.sh
+++ b/source/include/mozilla-i18n.sh
@@ -91,14 +91,14 @@ mozilla_i18n_lang_fini() {

mozilla_i18n_lang_install()
{
-	unzip -qqo $1.xpi
-	sed -i 's|chrome/||' chrome.manifest
-	Ffilerel chrome.manifest /usr/lib/$_F_mozilla_i18n_name/chrome/$1.manifest
-	Ffilerel chrome/$1.jar /usr/lib/$_F_mozilla_i18n_name/chrome/$1.jar
-
-	Fdirschmod  /usr/lib/$_F_mozilla_i18n_name 755
-	Ffileschmod /usr/lib/$_F_mozilla_i18n_name 644
-	Fsplit $_F_mozilla_i18n_name-${1,,} /usr/lib/$_F_mozilla_i18n_name
+	#unzip -qqo $1.xpi
+	#sed -i 's|chrome/||' chrome.manifest
+	#Ffilerel chrome.manifest /usr/lib/$_F_mozilla_i18n_name/chrome/$1.manifest
+	Fmkdir /usr/lib/firefox/extensions/
+	Ffilerel $1.xpi /usr/lib/$_F_mozilla_i18n_name/extensions/langpack-$1 at firefox.mozilla.org.xpi
+	#Fdirschmod  /usr/lib/$_F_mozilla_i18n_name/extensions/ 755
+	Ffileschmod /usr/lib/$_F_mozilla_i18n_name/extensions/langpack-$1 at firefox.mozilla.org.xpi 644
+	Fsplit $_F_mozilla_i18n_name-${1,,} /usr/lib/$_F_mozilla_i18n_name/extensions/
}

###


More information about the Frugalware-git mailing list