fedora-live-kde-base.ks: create /root/.gtkrc-2.0 directly in the image (#689070)

This needs to be done directly in the file system image, not in the livesys
initscript, because it should persist on liveinst.
This commit is contained in:
Kevin Kofler 2011-03-22 16:20:52 +01:00
parent 750658b18a
commit 9a222daf12
1 changed files with 7 additions and 7 deletions

View File

@ -33,6 +33,13 @@ DESKTOP="KDE"
DISPLAYMANAGER="KDE"
EOF
# make oxygen-gtk the default GTK+ 2 theme for root (see #683855, #689070)
cat > /root/.gtkrc-2.0 << EOF
include "/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc"
include "/etc/gtk-2.0/gtkrc"
gtk-theme-name="oxygen-gtk"
EOF
# add initscript
cat >> /etc/rc.d/init.d/livesys << EOF
@ -115,13 +122,6 @@ if strstr "\`cat /proc/cmdline\`" netbook ; then
mv /usr/share/autostart/plasma-desktop.desktop /usr/share/autostart/plasma-netbook.desktop
sed -i 's/desktop/netbook/g' /usr/share/autostart/plasma-netbook.desktop
fi
# hack around https://bugzilla.redhat.com/683855
cat > /root/.gtkrc-2.0 << GTKRC_EOF
include "/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc"
include "/etc/gtk-2.0/gtkrc"
gtk-theme-name="oxygen-gtk"
GTKRC_EOF
EOF
%end