diff options
author | Bruno Wolff III <bruno@wolff.to> | 2011-04-09 02:06:32 -0500 |
---|---|---|
committer | Bruno Wolff III <bruno@wolff.to> | 2011-04-09 02:06:32 -0500 |
commit | 7003848a4bd27ca47d111a4089c47e02dca89e9c (patch) | |
tree | 619e060e118d94d48bc8a7bc8714f0ac9af53eb9 /custom | |
parent | 6d5907d4d44d729ed6e0e6c49d6e68e3bbbb5243 (diff) | |
download | spin-kickstarts-7003848a4bd27ca47d111a4089c47e02dca89e9c.tar.gz spin-kickstarts-7003848a4bd27ca47d111a4089c47e02dca89e9c.tar.xz spin-kickstarts-7003848a4bd27ca47d111a4089c47e02dca89e9c.zip |
Change how the startup page is modified.
Recent firefox versions keep the properties in a zip archive.
So the appropriate file needs to be extracted, modified and
put back into the archive.
Diffstat (limited to 'custom')
-rw-r--r-- | custom/qa-test-day.ks | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks index 7457894..30db47a 100644 --- a/custom/qa-test-day.ks +++ b/custom/qa-test-day.ks @@ -38,9 +38,12 @@ glib2 %post # Set Test_Day:Current as default browser homepage -cat << EOF > `ls -1 /usr/lib*/firefox*/browserconfig.properties` +unzip -c /usr/lib/firefox-*/omni.jar chrome/en-US/locale/browser/browser.properties -d /tmp +cat << EOF > /tmp/chrome/en-US/locale/browser/browser.properties browser.startup.homepage=https://fedoraproject.org/wiki/Test_Day:Current EOF +(cd /tmp; zip /usr/lib/firefox-*/omni.jar chrome/en-US/locale/browser/browser.properties) +rm -f /tmp/chrome/en-US/locale/browser/browser.properties # Create a .desktop link for Test Day wiki mkdir -p /etc/skel/Desktop |