summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
authorMartin Stransky <stransky@fedoraproject.org>2008-07-24 14:42:59 +0000
committerMartin Stransky <stransky@fedoraproject.org>2008-07-24 14:42:59 +0000
commit2ecacac81f3054d4d2d2cc5769b0521309b45561 (patch)
treec8522be76bd5a58f55e950dee9154e84c7d08f90 /firefox.spec
parentBR: zip (diff)
downloadlibrewolf-fedora-ff-2ecacac81f3054d4d2d2cc5769b0521309b45561.tar.gz
librewolf-fedora-ff-2ecacac81f3054d4d2d2cc5769b0521309b45561.tar.bz2
librewolf-fedora-ff-2ecacac81f3054d4d2d2cc5769b0521309b45561.zip
Export correct locale in firefox-l10n.js
Diffstat (limited to 'firefox.spec')
-rw-r--r--firefox.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/firefox.spec b/firefox.spec
index d8a6c63..a3dd501 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -181,6 +181,12 @@ pref("startup.homepage_override_url", "%{firstrun}");
pref("startup.homepage_welcome_url", "%{firstrun}");
EOF
+# Export correct locale
+%{__cat} > $RPM_BUILD_ROOT/%{mozappdir}/defaults/preferences/firefox-l10n.js << EOF
+pref("general.useragent.locale", "chrome://global/locale/intl.properties");
+EOF
+%{__chmod} 644 $RPM_BUILD_ROOT/%{mozappdir}/defaults/preferences/firefox-l10n.js
+
# place the preferences
%{__cp} rh-default-prefs $RPM_BUILD_ROOT/%{mozappdir}/defaults/preferences/all-redhat.js
%{__rm} rh-default-prefs
bgstack15