summaryrefslogtreecommitdiffstats
path: root/initrd
diff options
context:
space:
mode:
author(no author)2006-09-13 18:48:57 +0200
committer(no author)2006-09-13 18:48:57 +0200
commitb931673dcffe2055abb9bd22389e5f0832a206ae (patch)
tree62534d431ad5279a69788389dcdb1b6e6209250c /initrd
parentkdm sessions reduced to linux + 2x windows (diff)
downloadcore-b931673dcffe2055abb9bd22389e5f0832a206ae.tar.gz
core-b931673dcffe2055abb9bd22389e5f0832a206ae.tar.xz
core-b931673dcffe2055abb9bd22389e5f0832a206ae.zip
mj0: bootsplash bugs removed
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@374 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd')
-rwxr-xr-xinitrd/mkdxsinitrd7
1 files changed, 4 insertions, 3 deletions
diff --git a/initrd/mkdxsinitrd b/initrd/mkdxsinitrd
index 4e151ae0..2b6141b4 100755
--- a/initrd/mkdxsinitrd
+++ b/initrd/mkdxsinitrd
@@ -7,7 +7,7 @@
# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 03-09-2006
# Nico Dietrich
# Felix Endres
-# mj0, 12-09-2006 theming added
+# mj0, 13-09-2006 theming added
#
# Copyright: (c) 2003 - 2006 - RZ Universitaet Freiburg
# (c) 2006 - openslx.org project
@@ -247,7 +247,8 @@ if [ -n "$splashsizes" -a -n "$splash_bin" ]; then
#fixme: very ugly ;)
mkdir -p $ROOTDIR/tmp/bootsplash
cp -a $themes_dir/* $ROOTDIR/tmp/bootsplash
- themes=${themes_dir}
+ themes=${themes_dir%bootsplash}
+ echo -e "\n\tUsing ${themes} for themes.\n"
themes_dir=$ROOTDIR/tmp/bootsplash
if [ -n "$themes_dir" -a \
@@ -279,7 +280,7 @@ done
rm -rf $ROOTDIR/tmp/bootsplash
# kdm/Xdialog theme
-cp -a ${themes%bootsplash}* ${INSTDIR}/usr/share/themes
+cp -a ${themes}* ${INSTDIR}/usr/share/themes
}