summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firefox-redhat-default-prefs.js2
-rw-r--r--firefox.spec11
2 files changed, 10 insertions, 3 deletions
diff --git a/firefox-redhat-default-prefs.js b/firefox-redhat-default-prefs.js
index e689306..c764dbc 100644
--- a/firefox-redhat-default-prefs.js
+++ b/firefox-redhat-default-prefs.js
@@ -4,7 +4,7 @@ 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("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 bbf3dd7..10b4178 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -12,7 +12,7 @@
Summary: Mozilla Firefox Web browser.
Name: firefox
Version: 2.0.0.3
-Release: 2%{?dist}
+Release: 3%{?dist}
URL: http://www.mozilla.org/projects/firefox/
License: MPL/LGPL
Group: Applications/Internet
@@ -281,7 +281,11 @@ for langpack in `ls firefox-langpacks/*.xpi`; do
%{__mkdir_p} $langtmp
jarfile=$extensiondir/chrome/$language.jar
unzip $jarfile -d $langtmp
- sed -i -e "s|browser.startup.homepage.*$|browser.startup.homepage=%{indexhtml}|g;" $langtmp/locale/browser-region/region.properties
+
+ sed -i -e "s|browser.startup.homepage.*$|browser.startup.homepage=%{indexhtml}|g;" \
+ -e "s|startup.homepage_override_url.*$|startup.homepage_override_url=%{indexhtml}|g;" \
+ > $langtmp/locale/browser-region/region.properties
+
find $langtmp -type f | xargs chmod 644
%{__rm} -rf $jarfile
cd $langtmp
@@ -416,6 +420,9 @@ fi
#---------------------------------------------------------------------
%changelog
+* Tue Apr 10 2007 Christopher Aillon <caillon@redhat.com> 2.0.0.3-3
+- Ensure initial homepage on all locales is our proper default
+
* Sun Mar 25 2007 Christopher Aillon <caillon@redhat.com> 2.0.0.3-2
- Fix the symlink to default bookmarks
- Use mktemp for temp dirs
bgstack15