aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-opie/opie-taskbar/opie-taskbar-images.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-opie/opie-taskbar/opie-taskbar-images.inc')
-rw-r--r--recipes-opie/opie-taskbar/opie-taskbar-images.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes-opie/opie-taskbar/opie-taskbar-images.inc b/recipes-opie/opie-taskbar/opie-taskbar-images.inc
index 68cb0a2..ee8581e 100644
--- a/recipes-opie/opie-taskbar/opie-taskbar-images.inc
+++ b/recipes-opie/opie-taskbar/opie-taskbar-images.inc
@@ -39,8 +39,10 @@ do_install() {
install -d ${D}${palmtopdir}/pics/launcher
# Allow us to be lazy with the loop below
- mv ${WORKDIR}/pics/launcher/firstuse.jpg ${WORKDIR}/pics/launcher/firstuse-240x320.jpg
- mv ${WORKDIR}/pics/launcher/opie-background.jpg ${WORKDIR}/pics/launcher/opie-background-240x320.jpg
+ if [ -f ${WORKDIR}/pics/launcher/firstuse.jpg ] ; then
+ mv ${WORKDIR}/pics/launcher/firstuse.jpg ${WORKDIR}/pics/launcher/firstuse-240x320.jpg
+ mv ${WORKDIR}/pics/launcher/opie-background.jpg ${WORKDIR}/pics/launcher/opie-background-240x320.jpg
+ fi
for res in ${AVAILABLE_SIZES}; do
install -m 0644 ${WORKDIR}/pics/launcher/firstuse-${res}.jpg ${D}${palmtopdir}/pics/launcher/firstuse-${res}.jpg