diff options
author | Michael Janczyk | 2008-01-24 19:08:09 +0100 |
---|---|---|
committer | Michael Janczyk | 2008-01-24 19:08:09 +0100 |
commit | 89844d4e5ced66163b16519efbe4c5198f05786c (patch) | |
tree | ba6af950161be3bcc5e021f9905af4a3f95980ae /os-plugins | |
parent | Added needed parameter in the short documentation. (diff) | |
download | core-89844d4e5ced66163b16519efbe4c5198f05786c.tar.gz core-89844d4e5ced66163b16519efbe4c5198f05786c.tar.xz core-89844d4e5ced66163b16519efbe4c5198f05786c.zip |
BUGFIX: kdm theme works now, we hope;), moved theme to plugin
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1490 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins')
-rw-r--r-- | os-plugins/plugins/Theme/XX_Theme.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/os-plugins/plugins/Theme/XX_Theme.sh b/os-plugins/plugins/Theme/XX_Theme.sh index e0a6985f..dc429652 100644 --- a/os-plugins/plugins/Theme/XX_Theme.sh +++ b/os-plugins/plugins/Theme/XX_Theme.sh @@ -2,6 +2,7 @@ # # stage3 part of 'Theme' plugin - the runlevel script # +. /etc/distro-functions if [ -e /initramfs/plugin-conf/Theme.conf ]; then . /initramfs/plugin-conf/Theme.conf if [ $Theme_active -ne 0 ]; then @@ -9,9 +10,11 @@ if [ -e /initramfs/plugin-conf/Theme.conf ]; then testmkd /mnt/var/lib/openslx/themes/displaymanager testmkd /mnt/var/lib/openslx/bin - [ -d /usr/share/themes/displaymanager ] \ - && cp -a /usr/share/themes/displaymanager \ - /mnt/var/lib/openslx/themes + if [ -d /usr/share/themes/displaymanager ]; then + cp -a /usr/share/themes/displaymanager \ + /mnt/var/lib/openslx/themes + sed -i "s,UseTheme=false,UseTheme=true," /mnt/${kdmrcdir}/kdmrc + fi [ $DEBUGLEVEL -gt 0 ] && echo "done with 'Theme' os-plugin ..."; fi |