From 2ecacac81f3054d4d2d2cc5769b0521309b45561 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Thu, 24 Jul 2008 14:42:59 +0000 Subject: Export correct locale in firefox-l10n.js --- firefox.spec | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit