summaryrefslogtreecommitdiff
path: root/recipes/mozilla/firefox.inc
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2009-03-23 04:38:35 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2009-04-03 17:14:04 -0300
commit0b9cb309ce90b4f0394859625365ca948fe25812 (patch)
tree84ae659e4372db5d884425234a78ca930b7bd49b /recipes/mozilla/firefox.inc
parent35467d35ba448cdcf083f8a498e12d7624c7409b (diff)
firefox.inc: properly support locale usage based in system locale
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes/mozilla/firefox.inc')
-rw-r--r--recipes/mozilla/firefox.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes/mozilla/firefox.inc b/recipes/mozilla/firefox.inc
index 84082cd4c4..1be9c4da8f 100644
--- a/recipes/mozilla/firefox.inc
+++ b/recipes/mozilla/firefox.inc
@@ -37,6 +37,12 @@ do_install() {
install -m 0644 ${WORKDIR}/mozilla-${PN}.desktop ${D}${datadir}/applications/
install -m 0644 ${WORKDIR}/mozilla-${PN}.png ${D}${datadir}/pixmaps/
rm -f ${D}${libdir}/${PN}-*/TestGtkEmbed
+ rm -f ${D}${libdir}/${PN}-*/defaults/pref/firefox-l10n.js
+
+ # use locale settings
+ grep -Rl intl.locale.matchOS ${D}${libdir}/${PN}-*/ \
+ | grep '.js$' \
+ | xargs -n 1 sed -i 's/\(pref("intl.locale.matchOS",\s*\)false)/\1true)/g'
# disable application updating
grep -Rl app.update.enabled ${D}${libdir}/${PN}-*/ \