summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-05-19 13:12:28 +0000
committerOlivier Blin <oblin@mandriva.com>2008-05-19 13:12:28 +0000
commita144006789b7de54749432235c76819b6ccb35fd (patch)
tree5265ce24803923055c13e17f9a693ee4c74bf197
parentd7f9414c7068cc711d7f79d13c55f375b4f61668 (diff)
downloadtheme-a144006789b7de54749432235c76819b6ccb35fd.tar
theme-a144006789b7de54749432235c76819b6ccb35fd.tar.gz
theme-a144006789b7de54749432235c76819b6ccb35fd.tar.bz2
theme-a144006789b7de54749432235c76819b6ccb35fd.tar.xz
theme-a144006789b7de54749432235c76819b6ccb35fd.zip
check that the bootsplash image exists before creating the config
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1bca3d6..e5e4f2a 100644
--- a/Makefile
+++ b/Makefile
@@ -55,6 +55,7 @@ install:
source $$t/bootsplash/colors; \
for d in 640x480 800x600 1024x768 1280x1024 1600x1200; \
do \
+ [ -e $(prefix)$(sharedir)/bootsplash/themes/$$t/images/bootsplash-$$d.jpg ] || continue \
W=`echo $$d | sed -e "s/x.*//"` ;\
H=`echo $$d | sed -e "s/.*x//"` ;\
ln -f -s bootsplash-$$d.jpg $(prefix)$(sharedir)/bootsplash/themes/$$t/images/silent-$$d.jpg; \