[spin-kickstarts: 13/24] qa-test-day: skel is in /etc not /usr.
by Bruno Wolff III
commit 008df75ef7414ce696faf5e66f60dc8260b2a21e
Author: Bruno Wolff III <bruno(a)wolff.to>
Date: Sat Apr 9 16:45:40 2011 -0500
qa-test-day: skel is in /etc not /usr.
custom/qa-test-day.ks | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks
index 2db6f19..9189ea1 100644
--- a/custom/qa-test-day.ks
+++ b/custom/qa-test-day.ks
@@ -48,7 +48,7 @@ EOF
rm -rf /tmp/chrome
# Create a directory to store global custom favorites
-mkdir -p /usr/skel/.local/share/applications
+mkdir -p /etc/skel/.local/share/applications
# Create a .desktop link for Test Day IRC chat
cat << EOF > /etc/skel/.local/share/applications/testday-irc.desktop
13 years
[spin-kickstarts: 12/24] qa-test-day: Remove reference to deleted favorite.
by Bruno Wolff III
commit 07e93683474b62450ecd36e76d1ea7aa0398eef0
Author: Bruno Wolff III <bruno(a)wolff.to>
Date: Sat Apr 9 16:10:18 2011 -0500
qa-test-day: Remove reference to deleted favorite.
custom/qa-test-day.ks | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks
index f295ee1..2db6f19 100644
--- a/custom/qa-test-day.ks
+++ b/custom/qa-test-day.ks
@@ -64,7 +64,7 @@ EOF
# be another way to do this.)
cat << EOF > /usr/share/glib-2.0/schemas/org.gnome.shell.qa-testday.gschema.override
[org.gnome.shell]
-favorite-apps=['mozilla-firefox.desktop', 'nautilus.desktop', 'testday-wiki.desktop', 'testday-irc.desktop', 'gnome-terminal.desktop']
+favorite-apps=['mozilla-firefox.desktop', 'nautilus.desktop', 'testday-irc.desktop', 'gnome-terminal.desktop']
EOF
glib-compile-schemas /usr/share/glib-2.0/schemas/
%end
13 years
[spin-kickstarts: 11/24] qa-test-day: The new directory for favorites needs to be created.
by Bruno Wolff III
commit 0b9063fdada5d173ee86c3ade3e35a2d38fe8eea
Author: Bruno Wolff III <bruno(a)wolff.to>
Date: Sat Apr 9 15:28:12 2011 -0500
qa-test-day: The new directory for favorites needs to be created.
custom/qa-test-day.ks | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks
index ba1d2d0..f295ee1 100644
--- a/custom/qa-test-day.ks
+++ b/custom/qa-test-day.ks
@@ -47,6 +47,9 @@ EOF
(cd /tmp; zip /usr/lib/firefox-*/omni.jar chrome/en-US/locale/branding/browserconfig.properties)
rm -rf /tmp/chrome
+# Create a directory to store global custom favorites
+mkdir -p /usr/skel/.local/share/applications
+
# Create a .desktop link for Test Day IRC chat
cat << EOF > /etc/skel/.local/share/applications/testday-irc.desktop
[Desktop Entry]
13 years
[spin-kickstarts: 10/24] qa-test-day: Remove redundant firefox favorite
by Bruno Wolff III
commit 1ce7a7bfadb11ebb78ff91f75505cfcce1166071
Author: Bruno Wolff III <bruno(a)wolff.to>
Date: Sat Apr 9 15:26:40 2011 -0500
qa-test-day: Remove redundant firefox favorite
custom/qa-test-day.ks | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks
index 4da447a..ba1d2d0 100644
--- a/custom/qa-test-day.ks
+++ b/custom/qa-test-day.ks
@@ -47,17 +47,6 @@ EOF
(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
-cat << EOF > /etc/skel/.local/share/applications/testday-wiki.desktop
-[Desktop Entry]
-Encoding=UTF-8
-Name=Participate in a Test Day
-Type=Link
-URL=https://fedoraproject.org/wiki/Test_Day:Current
-Icon=gnome-fs-bookmark
-EOF
-
# Create a .desktop link for Test Day IRC chat
cat << EOF > /etc/skel/.local/share/applications/testday-irc.desktop
[Desktop Entry]
13 years
[spin-kickstarts: 9/24] qa-test-day: Account for favorites search path
by Bruno Wolff III
commit f5653f7bb23d7add8db971ec1da7302ddad0951c
Author: Bruno Wolff III <bruno(a)wolff.to>
Date: Sat Apr 9 15:24:35 2011 -0500
qa-test-day: Account for favorites search path
custom/qa-test-day.ks | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks
index fdab591..4da447a 100644
--- a/custom/qa-test-day.ks
+++ b/custom/qa-test-day.ks
@@ -49,7 +49,7 @@ rm -rf /tmp/chrome
# Create a .desktop link for Test Day wiki
mkdir -p /etc/skel/Desktop
-cat << EOF > /etc/skel/Desktop/testday-wiki.desktop
+cat << EOF > /etc/skel/.local/share/applications/testday-wiki.desktop
[Desktop Entry]
Encoding=UTF-8
Name=Participate in a Test Day
@@ -59,7 +59,7 @@ Icon=gnome-fs-bookmark
EOF
# Create a .desktop link for Test Day IRC chat
-cat << EOF > /etc/skel/Desktop/testday-irc.desktop
+cat << EOF > /etc/skel/.local/share/applications/testday-irc.desktop
[Desktop Entry]
Encoding=UTF-8
Name=Connect to a Test Day chat
@@ -68,9 +68,6 @@ URL=http://webchat.freenode.net/?channels=fedora-test-day
Icon=gnome-fs-bookmark
EOF
-# Add gnome-terminal shortcut to desktop
-cp /usr/share/applications/gnome-terminal.desktop /etc/skel/Desktop
-
# Change the favorites using a vendor override. (Adding a profile would
# be another way to do this.)
cat << EOF > /usr/share/glib-2.0/schemas/org.gnome.shell.qa-testday.gschema.override
13 years
[spin-kickstarts: 8/24] qa-test-day: It looks like empty urls need to be quoted.
by Bruno Wolff III
commit 3b1b41ea36eaee81bdc0f3f2bcc1e21271db5948
Author: Bruno Wolff III <bruno(a)wolff.to>
Date: Sat Apr 9 15:17:00 2011 -0500
qa-test-day: It looks like empty urls need to be quoted.
custom/qa-test-day.ks | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks
index 59bfbd0..fdab591 100644
--- a/custom/qa-test-day.ks
+++ b/custom/qa-test-day.ks
@@ -41,8 +41,8 @@ glib2
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
-startup.homepage_override_url=
-startup.homepage_welcome_url=
+startup.homepage_override_url=''
+startup.homepage_welcome_url=''
EOF
(cd /tmp; zip /usr/lib/firefox-*/omni.jar chrome/en-US/locale/branding/browserconfig.properties)
rm -rf /tmp/chrome
13 years
[spin-kickstarts: 7/24] Fix up the key value favorites override file.
by Bruno Wolff III
commit f3a46f063181786e5c254e06ecf1b2be4730df64
Author: Bruno Wolff III <bruno(a)wolff.to>
Date: Sat Apr 9 13:43:21 2011 -0500
Fix up the key value favorites override file.
custom/qa-test-day.ks | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks
index 6c2c744..59bfbd0 100644
--- a/custom/qa-test-day.ks
+++ b/custom/qa-test-day.ks
@@ -73,8 +73,8 @@ cp /usr/share/applications/gnome-terminal.desktop /etc/skel/Desktop
# Change the favorites using a vendor override. (Adding a profile would
# be another way to do this.)
-cat << EOF > /usr/share/glib-2.0/schemas/qa-testday.gschema.override
-[org/gnome/shell]
+cat << EOF > /usr/share/glib-2.0/schemas/org.gnome.shell.qa-testday.gschema.override
+[org.gnome.shell]
favorite-apps=['mozilla-firefox.desktop', 'nautilus.desktop', 'testday-wiki.desktop', 'testday-irc.desktop', 'gnome-terminal.desktop']
EOF
glib-compile-schemas /usr/share/glib-2.0/schemas/
13 years
[spin-kickstarts: 6/24] Suppress first run pages for firefox.
by Bruno Wolff III
commit fd0752d245daf381ab447dbf519362f4c5ac74c4
Author: Bruno Wolff III <bruno(a)wolff.to>
Date: Sat Apr 9 13:35:03 2011 -0500
Suppress first run pages for firefox.
custom/qa-test-day.ks | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks
index 672dff6..6c2c744 100644
--- a/custom/qa-test-day.ks
+++ b/custom/qa-test-day.ks
@@ -41,6 +41,8 @@ glib2
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
+startup.homepage_override_url=
+startup.homepage_welcome_url=
EOF
(cd /tmp; zip /usr/lib/firefox-*/omni.jar chrome/en-US/locale/branding/browserconfig.properties)
rm -rf /tmp/chrome
13 years
[spin-kickstarts: 5/24] The startup page should be changed in the branding area.
by Bruno Wolff III
commit f32212bb3e8520429868415154ab181ed0899586
Author: Bruno Wolff III <bruno(a)wolff.to>
Date: Sat Apr 9 11:41:54 2011 -0500
The startup page should be changed in the branding area.
custom/qa-test-day.ks | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks
index 3d6bfa8..672dff6 100644
--- a/custom/qa-test-day.ks
+++ b/custom/qa-test-day.ks
@@ -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
13 years
[spin-kickstarts: 4/24] glib-compile-schemas doesn't have a default.
by Bruno Wolff III
commit 6308e3e455c65a0fe3da7607e2d5464545da5f62
Author: Bruno Wolff III <bruno(a)wolff.to>
Date: Sat Apr 9 09:52:02 2011 -0500
glib-compile-schemas doesn't have a default.
I incorrectly assumed glib-compile-schemas would default to the system
schemas, but it turns out I need to explicitly name the directory.
custom/qa-test-day.ks | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks
index fafc9f6..3d6bfa8 100644
--- a/custom/qa-test-day.ks
+++ b/custom/qa-test-day.ks
@@ -75,5 +75,5 @@ cat << EOF > /usr/share/glib-2.0/schemas/qa-testday.gschema.override
[org/gnome/shell]
favorite-apps=['mozilla-firefox.desktop', 'nautilus.desktop', 'testday-wiki.desktop', 'testday-irc.desktop', 'gnome-terminal.desktop']
EOF
-glib-compile-schemas
+glib-compile-schemas /usr/share/glib-2.0/schemas/
%end
13 years