diff options
author | Remi Collet <fedora@famillecollet.com> | 2010-09-02 20:57:44 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2010-09-02 20:57:44 +0200 |
commit | e9d4e922d33d6305c213144d36adfb480411e868 (patch) | |
tree | 9bfed6f31777d3a583dcd6f37d3e4c3de9406a59 | |
parent | 4139b184bd73709d975dfcef71c655f7c7e8198c (diff) |
firefox: Startup page for default language
-rw-r--r-- | firefox-dev.spec | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/firefox-dev.spec b/firefox-dev.spec index da544ec..d890b04 100644 --- a/firefox-dev.spec +++ b/firefox-dev.spec @@ -318,10 +318,9 @@ desktop-file-install --vendor mozilla \ -e 's,FIREFOX_RPM_VR,fc%{fedora},g' \ -e 's/Fedora/Remi/' > rh-default-prefs -# resolves bug #461880 -%{__cat} > $RPM_BUILD_ROOT/%{mozappdir}/browserconfig.properties << EOF -browser.startup.homepage=%{homepage} -EOF +# Startup page for default language +sed -i -e 's@^\(browser\.startup\.homepage\(\|_reset\)\)=.*$@\1=%{homepage}@g;' \ + $RPM_BUILD_ROOT/%{mozappdir}/chrome/en-US/locale/branding/browserconfig.properties # Export correct locale %{__cat} > $RPM_BUILD_ROOT/%{mozappdir}/defaults/pref/firefox-l10n.js << EOF |