From e9d4e922d33d6305c213144d36adfb480411e868 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 2 Sep 2010 20:57:44 +0200 Subject: firefox: Startup page for default language --- firefox-dev.spec | 7 +++---- 1 file 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 -- cgit