summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2007-08-07 15:16:55 +0000
committerRoss Burton <ross@openedhand.com>2007-08-07 15:16:55 +0000
commitfdedaf93e5321bc421e773c3b81c71cae95de042 (patch)
tree449b823eead47fe81a1d91597877b7bcd501ef15 /meta/packages
parent9153c1709f11bcf38831a1f2d399a5d22f935b2f (diff)
downloadopenembedded-core-fdedaf93e5321bc421e773c3b81c71cae95de042.tar.gz
openembedded-core-fdedaf93e5321bc421e773c3b81c71cae95de042.tar.bz2
openembedded-core-fdedaf93e5321bc421e773c3b81c71cae95de042.zip
Fix reinstall target by not assuming the install directory is empty
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2379 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/db/db_4.2.52.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/packages/db/db_4.2.52.bb b/meta/packages/db/db_4.2.52.bb
index 6641f9872b..f7850d1413 100644
--- a/meta/packages/db/db_4.2.52.bb
+++ b/meta/packages/db/db_4.2.52.bb
@@ -14,7 +14,7 @@ HOMEPAGE = "http://www.sleepycat.com"
LICENSE = "BSD Sleepycat"
VIRTUAL_NAME ?= "virtual/db"
CONFLICTS = "db3"
-PR = "r6"
+PR = "r7"
SRC_URI = "http://downloads.sleepycat.com/db-${PV}.tar.gz"
#SRC_URI_MD5 = "http://downloads.sleepycat.com/db-${PV}.tar.gz.md5"
@@ -93,7 +93,7 @@ do_install_append() {
if test -d "${D}/${prefix}/docs"
then
mkdir -p "${D}/${datadir}"
- test ! -d "${D}/${docdir}" || rmdir "${D}/${docdir}"
+ test ! -d "${D}/${docdir}" || rm -rf "${D}/${docdir}"
mv "${D}/${prefix}/docs" "${D}/${docdir}"
fi
}