summaryrefslogtreecommitdiff
path: root/classes/sdl.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/sdl.bbclass')
-rw-r--r--classes/sdl.bbclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/classes/sdl.bbclass b/classes/sdl.bbclass
index d458a144c7..f6774be62e 100644
--- a/classes/sdl.bbclass
+++ b/classes/sdl.bbclass
@@ -13,11 +13,12 @@ sdl_do_sdl_install() {
install -d ${D}${palmtopdir}/pics
install -d ${D}${palmtopdir}/apps/Games
ln -sf ${bindir}/${APPNAME} ${D}${palmtopdir}/bin/${APPNAME}
- install -m 0644 ${APPIMAGE} ${D}${palmtopdir}/pics/${APPIMAGE}
+ install -m 0644 ${APPIMAGE} ${D}${palmtopdir}/pics/${PN}.png
if [ -e "${APPDESKTOP}" ]
then
- install -m 0644 ${APPDESKTOP} ${D}${palmtopdir}/Games/${APPDESKTOP}
+ echo ${APPDESKTOP} present, installing to palmtopdir...
+ install -m 0644 ${APPDESKTOP} ${D}${palmtopdir}/apps/Games/${PN}.desktop
else
echo ${APPDESKTOP} not present, creating one on-the-fly...
cat >${D}${palmtopdir}/apps/Games/${PN}.desktop <<EOF