aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/make-boot-splash
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2006-10-18 08:27:59 +0000
committerFlorent Villard <warly@mandriva.com>2006-10-18 08:27:59 +0000
commitf23d1861db32645e71e71f04bc8764a2c786562e (patch)
tree23afdd2e05e223a524cf8823e0b222d8b2dadd28 /scripts/make-boot-splash
parent853f4780aa84916638738c4520716697f6978ef7 (diff)
downloadbootsplash-f23d1861db32645e71e71f04bc8764a2c786562e.tar
bootsplash-f23d1861db32645e71e71f04bc8764a2c786562e.tar.gz
bootsplash-f23d1861db32645e71e71f04bc8764a2c786562e.tar.bz2
bootsplash-f23d1861db32645e71e71f04bc8764a2c786562e.tar.xz
bootsplash-f23d1861db32645e71e71f04bc8764a2c786562e.zip
added grub support in the theme
Diffstat (limited to 'scripts/make-boot-splash')
-rwxr-xr-xscripts/make-boot-splash5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/make-boot-splash b/scripts/make-boot-splash
index 6a5a236..0575cb2 100755
--- a/scripts/make-boot-splash
+++ b/scripts/make-boot-splash
@@ -40,6 +40,11 @@ if [[ -f $splash_dir/themes/$THEME/lilo/message ]];then
cp -f $splash_dir/themes/$THEME/lilo/message /boot/message-graphic
fi
+if [[ -f $splash_dir/themes/$THEME/grub/splash.xpm.gz && -d /boot/grub/ ]];then
+ rm -f /boot/grub/splash.xpm.gz
+ cp -f $splash_dir/themes/$THEME/grub/splash.xpm.gz /boot/grub/splash.xpm.gz
+fi
+
if [[ -z $config ]];then
echo "Can't find a config file for resolution $resolution";
exit 1;