diff options
author | Sebastian Schmelzer | 2008-03-10 00:45:31 +0100 |
---|---|---|
committer | Sebastian Schmelzer | 2008-03-10 00:45:31 +0100 |
commit | 9527157d610f64920df5597d85bffc1d83850f38 (patch) | |
tree | 21de9291b8ac1efb6175b2437da6f56dc084ad7c /os-plugins | |
parent | * added missing call to fetchInstalledPlugins() in case the vendor-OS (diff) | |
download | core-9527157d610f64920df5597d85bffc1d83850f38.tar.gz core-9527157d610f64920df5597d85bffc1d83850f38.tar.xz core-9527157d610f64920df5597d85bffc1d83850f38.zip |
* vmpasswd link will now be created by makeinitramfs
* themeplugin:
+ check if kdmrc is there before changing it
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1612 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins')
-rw-r--r-- | os-plugins/plugins/theme/XX_theme.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/os-plugins/plugins/theme/XX_theme.sh b/os-plugins/plugins/theme/XX_theme.sh index 5acadab4..097397bf 100644 --- a/os-plugins/plugins/theme/XX_theme.sh +++ b/os-plugins/plugins/theme/XX_theme.sh @@ -15,7 +15,9 @@ 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/${D_KDMRCPATH}/kdmrc + if [ -f /mnt/${D_KDMRCPATH}/kdmrc ]; then + sed -i "s,UseTheme=false,UseTheme=true," /mnt/${D_KDMRCPATH}/kdmrc + fi if [ -f /mnt/etc/gdm/gdm.conf ]; then sed -i "s,^\(GraphicalThemeDir=.*\)$,#\1 \nGraphicalThemeDir=/var/lib/openslx/themes/displaymanager," /mnt/etc/gdm/gdm.conf sed -i "s,^\(GraphicalTheme=.*\)$,#\1 \nGraphicalTheme=gdm," /mnt/etc/gdm/gdm.conf |