From 835896c779cf250e9968ec700153439a74d15b36 Mon Sep 17 00:00:00 2001 From: Robert Schuster Date: Tue, 23 Sep 2008 06:47:49 +0000 Subject: wesnoth 1.4.5: Fix do_install_append. --- packages/wesnoth/wesnoth_1.4.5.bb | 5 +++-- 1 file 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 } -- cgit v1.2.3