summaryrefslogtreecommitdiffstats
path: root/meta
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
parent9153c1709f11bcf38831a1f2d399a5d22f935b2f (diff)
downloadpoky-fdedaf93e5321bc421e773c3b81c71cae95de042.tar.gz
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')
-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"
14LICENSE = "BSD Sleepycat" 14LICENSE = "BSD Sleepycat"
15VIRTUAL_NAME ?= "virtual/db" 15VIRTUAL_NAME ?= "virtual/db"
16CONFLICTS = "db3" 16CONFLICTS = "db3"
17PR = "r6" 17PR = "r7"
18 18
19SRC_URI = "http://downloads.sleepycat.com/db-${PV}.tar.gz" 19SRC_URI = "http://downloads.sleepycat.com/db-${PV}.tar.gz"
20#SRC_URI_MD5 = "http://downloads.sleepycat.com/db-${PV}.tar.gz.md5" 20#SRC_URI_MD5 = "http://downloads.sleepycat.com/db-${PV}.tar.gz.md5"
@@ -93,7 +93,7 @@ do_install_append() {
93 if test -d "${D}/${prefix}/docs" 93 if test -d "${D}/${prefix}/docs"
94 then 94 then
95 mkdir -p "${D}/${datadir}" 95 mkdir -p "${D}/${datadir}"
96 test ! -d "${D}/${docdir}" || rmdir "${D}/${docdir}" 96 test ! -d "${D}/${docdir}" || rm -rf "${D}/${docdir}"
97 mv "${D}/${prefix}/docs" "${D}/${docdir}" 97 mv "${D}/${prefix}/docs" "${D}/${docdir}"
98 fi 98 fi
99} 99}