[oe-commits] : wesnoth 1.4.5: Fix do_install_append.

OE GIT Trial gittrial at amethyst.openembedded.net
Tue Sep 23 07:37:10 UTC 2008


Module: OE.dev
Branch: master
Commit: bffc94b0f734fa804983ba91e3e9c02647bcf6c7
URL:    http://gitweb.openembedded.net//OE.dev.git/?a=commit;h=bffc94b0f734fa804983ba91e3e9c02647bcf6c7

Author:  <thebohemian at openembedded.org>
Date:   Tue Sep 23 06:47:49 2008 +0000

wesnoth 1.4.5: Fix do_install_append.

---

 packages/wesnoth/wesnoth_1.4.5.bb |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/packages/wesnoth/wesnoth_1.4.5.bb b/packages/wesnoth/wesnoth_1.4.5.bb
index 5b5484d..a0f66e9 100644
--- a/packages/wesnoth/wesnoth_1.4.5.bb
+++ b/packages/wesnoth/wesnoth_1.4.5.bb
@@ -5,7 +5,7 @@ LICENSE = "GPL"
 
 DEPENDS = "freetype libsdl-image libsdl-mixer libsdl-net libsdl-ttf zlib boost imagemagick-native"
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/wesnoth/${PN}-${PV}.tar.bz2"
 
@@ -32,7 +32,8 @@ PACKAGES = "wesnoth-editor wesnoth-doc wesnoth-music \
 	"
 
 do_install_append() {
-	if [ -f ${D}${datadir}/wesnoth/icons ]; then
+	# icons directory should not be packaged/installed
+	if [ -d ${D}${datadir}/wesnoth/icons ]; then
 		rm -rf ${D}${datadir}/wesnoth/icons
 	fi
 }





More information about the Openembedded-commits mailing list