summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorRobert Schuster <thebohemian@gmx.net>2008-09-23 06:47:49 +0000
committerRobert Schuster <thebohemian@gmx.net>2008-09-23 06:47:49 +0000
commit835896c779cf250e9968ec700153439a74d15b36 (patch)
tree77afd2d82e9bff5f0179b39f38bfa61658ccf776 /packages
parent4dad8b0732aa92b3b679bf335b8edce3896e5bf0 (diff)
wesnoth 1.4.5: Fix do_install_append.
Diffstat (limited to 'packages')
-rw-r--r--packages/wesnoth/wesnoth_1.4.5.bb5
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
}