summaryrefslogtreecommitdiffstats
path: root/os-plugins
diff options
context:
space:
mode:
authorMichael Janczyk2008-01-24 20:26:44 +0100
committerMichael Janczyk2008-01-24 20:26:44 +0100
commit9281b00f055f0e18280c25cc8eb550f642527430 (patch)
tree2409b6eb69c582d48fc3faa9fc959590b4aa3fac /os-plugins
parentkdm theme doesnt work yet, testcommit (diff)
downloadcore-9281b00f055f0e18280c25cc8eb550f642527430.tar.gz
core-9281b00f055f0e18280c25cc8eb550f642527430.tar.xz
core-9281b00f055f0e18280c25cc8eb550f642527430.zip
BUGFIX: KDM theme should work now for suse 10.2, others have still to be changed
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1492 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins')
-rw-r--r--os-plugins/plugins/Theme/XX_Theme.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/os-plugins/plugins/Theme/XX_Theme.sh b/os-plugins/plugins/Theme/XX_Theme.sh
index b37bd33b..a866295d 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/functions
. /etc/sysconfig/config
if [ -e /initramfs/plugin-conf/Theme.conf ]; then
. /initramfs/plugin-conf/Theme.conf
@@ -13,7 +14,7 @@ if [ -e /initramfs/plugin-conf/Theme.conf ]; then
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
+ sed -i "s,UseTheme=false,UseTheme=true," /mnt/${D_KDMRCPATH}/kdmrc
fi
[ $DEBUGLEVEL -gt 0 ] && echo "done with 'Theme' os-plugin ...";