diff options
-rw-r--r-- | 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 5b5484d0e3..a0f66e9dff 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 } |