summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-05-19 13:10:27 +0000
committerOlivier Blin <oblin@mandriva.com>2008-05-19 13:10:27 +0000
commitb60cbae1757df367a1334f0a0a44567a2d70f01f (patch)
tree88969cd18616f0b2b5d12493ce882db39f757332 /Makefile
parentda98b7392f160ed7cffd16fc8d5662f2d9161acd (diff)
downloadtheme-b60cbae1757df367a1334f0a0a44567a2d70f01f.tar
theme-b60cbae1757df367a1334f0a0a44567a2d70f01f.tar.gz
theme-b60cbae1757df367a1334f0a0a44567a2d70f01f.tar.bz2
theme-b60cbae1757df367a1334f0a0a44567a2d70f01f.tar.xz
theme-b60cbae1757df367a1334f0a0a44567a2d70f01f.zip
check that the target file exists before linking default backgrounds (useful if some res is not used for all themes)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cb8b8b2..d450fcc 100644
--- a/Makefile
+++ b/Makefile
@@ -50,7 +50,7 @@ install:
install -m644 $$t/background/$$t.xml $(prefix)$(sharedir)/mdk/backgrounds/; \
for d in 1024x768 1280x1024 1280x800 1440x900 1600x1200 1680x1050 1920x1200 1920x1440 ; \
do \
- ln -f -s $$t-$$d-1300.jpg $(prefix)$(sharedir)/mdk/backgrounds/$$t-$$d.jpg; \
+ [ -e $(prefix)$(sharedir)/mdk/backgrounds/$$t-$$d-1300.jpg ] && ln -f -s $$t-$$d-1300.jpg $(prefix)$(sharedir)/mdk/backgrounds/$$t-$$d.jpg; \
done; \
source $$t/bootsplash/colors; \
for d in 800x600 1024x768 1280x1024 1600x1200; \