The startup page should be changed in the branding area.
This commit is contained in:
parent
6308e3e455
commit
f32212bb3e
@ -38,12 +38,12 @@ glib2
|
||||
|
||||
%post
|
||||
# Set Test_Day:Current as default browser homepage
|
||||
unzip /usr/lib/firefox-*/omni.jar chrome/en-US/locale/browser/browser.properties -d /tmp
|
||||
cat << EOF > /tmp/chrome/en-US/locale/browser/browser.properties
|
||||
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
|
||||
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
|
||||
(cd /tmp; zip /usr/lib/firefox-*/omni.jar chrome/en-US/locale/branding/browserconfig.properties)
|
||||
rm -rf /tmp/chrome
|
||||
|
||||
# Create a .desktop link for Test Day wiki
|
||||
mkdir -p /etc/skel/Desktop
|
||||
|
Loading…
Reference in New Issue
Block a user