Export correct locale in firefox-l10n.js

This commit is contained in:
Martin Stransky 2008-07-24 14:42:59 +00:00
parent d96a1e8014
commit 2ecacac81f

View File

@ -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