diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-05-19 13:10:27 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-05-19 13:10:27 +0000 |
commit | b60cbae1757df367a1334f0a0a44567a2d70f01f (patch) | |
tree | 88969cd18616f0b2b5d12493ce882db39f757332 | |
parent | da98b7392f160ed7cffd16fc8d5662f2d9161acd (diff) | |
download | theme-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)
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; \ |