From f4a4fd1616d1e92c3761c4f606822bc1b961d812 Mon Sep 17 00:00:00 2001 From: Christopher Aillon Date: Thu, 6 Sep 2007 14:30:01 +0000 Subject: - Fix default page for all locales --- firefox-redhat-default-prefs.js | 3 --- firefox.spec | 14 ++++++++++++-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/firefox-redhat-default-prefs.js b/firefox-redhat-default-prefs.js index c764dbc..b4d1ca7 100644 --- a/firefox-redhat-default-prefs.js +++ b/firefox-redhat-default-prefs.js @@ -2,9 +2,6 @@ pref("app.update.enabled", false); pref("app.update.autoInstallEnabled", false); pref("browser.display.use_system_colors", true); pref("browser.link.open_external", 3); -pref("browser.startup.homepage", "file:///usr/share/doc/HTML/index.html"); -pref("startup.homepage_override_url", "file:///usr/share/doc/HTML/index.html"); -pref("startup.homepage_welcome_url", "file:///usr/share/doc/HTML/index.html"); pref("general.smoothScroll", true); pref("general.useragent.vendor", "Fedora"); pref("general.useragent.vendorSub", "FIREFOX_RPM_VR"); diff --git a/firefox.spec b/firefox.spec index e3ce774..f49b2f5 100644 --- a/firefox.spec +++ b/firefox.spec @@ -12,7 +12,7 @@ Summary: Mozilla Firefox Web browser. Name: firefox Version: 2.0.0.6 -Release: 5%{?dist} +Release: 6%{?dist} URL: http://www.mozilla.org/projects/firefox/ License: MPLv1.1 or GPLv2+ or LGPLv2+ Group: Applications/Internet @@ -192,7 +192,14 @@ removed in favor of xulrunner-devel. %endif # set up our default bookmarks -cp %{default_bookmarks_file} $RPM_BUILD_DIR/mozilla/profile/defaults/bookmarks.html +%{__cp} %{default_bookmarks_file} $RPM_BUILD_DIR/mozilla/profile/defaults/bookmarks.html + +# set up our default homepage +%{__cat} >> %{SOURCE12} << EOF +pref("browser.startup.homepage", "%{homepage}"); +pref("startup.homepage_override_url", "%{homepage}"); +pref("startup.homepage_welcome_url", "%{homepage}"); +EOF #--------------------------------------------------------------------- @@ -431,6 +438,9 @@ fi #--------------------------------------------------------------------- %changelog +* Thu Sep 6 2007 Christopher Aillon - 2.0.0.6-6 +- Fix default page for all locales + * Wed Aug 29 2007 Christopher Aillon - 2.0.0.6-5 - Tweak the default home page -- cgit