diff options
author | Bruno Wolff III <bruno@wolff.to> | 2011-04-09 19:01:49 -0500 |
---|---|---|
committer | Bruno Wolff III <bruno@wolff.to> | 2011-04-09 19:01:49 -0500 |
commit | ccb24e2e7b43c5ae2a4b0a9fe6d1e309ed61bc1e (patch) | |
tree | 91a800571bd97e661758ed0fec2897395b363589 /custom/qa-test-day.ks | |
parent | ae20b8bcfbc68ce3d73d3fe99c63e72c7ddbfcb8 (diff) | |
download | spin-kickstarts-ccb24e2e7b43c5ae2a4b0a9fe6d1e309ed61bc1e.tar.gz spin-kickstarts-ccb24e2e7b43c5ae2a4b0a9fe6d1e309ed61bc1e.tar.xz spin-kickstarts-ccb24e2e7b43c5ae2a4b0a9fe6d1e309ed61bc1e.zip |
qa-testday: Need to override welcome page a different way.
Diffstat (limited to 'custom/qa-test-day.ks')
-rw-r--r-- | custom/qa-test-day.ks | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks index 1925dbc..d9db440 100644 --- a/custom/qa-test-day.ks +++ b/custom/qa-test-day.ks @@ -37,14 +37,21 @@ glib2 %end %post +# Turn off alternate pages on first firefox use or after updates +unzip /usr/lib/firefox-*/omni.jar defaults/preferences/firefox-branding.js -d /tmp +cat << EOF >> /tmp/defaults/preferences/firefox-branding.js +pref("startup.homepage_welcome_url",""); +pref("startup.homepage_override_url",""); +EOF + # Set Test_Day:Current as default browser homepage mkdir -p /tmp/chrome/en-US/locale/branding cat << EOF > /tmp/chrome/en-US/locale/branding/browserconfig.properties browser.startup.homepage=https://fedoraproject.org/wiki/Test_Day:Current -browser.startup.homepage_override.mstone=ignore EOF -(cd /tmp; zip /usr/lib/firefox-*/omni.jar chrome/en-US/locale/branding/browserconfig.properties) -rm -rf /tmp/chrome + +(cd /tmp; zip /usr/lib/firefox-*/omni.jar chrome/en-US/locale/branding/browserconfig.properties defaults/preferences/firefox-branding.js) +rm -rf /tmp/chrome /tmp/defaults # Create a directory to store global custom favorites mkdir -p /etc/skel/.local/share/applications |