diff options
author | Ross Burton <ross@openedhand.com> | 2007-08-07 15:16:55 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2007-08-07 15:16:55 +0000 |
commit | fdedaf93e5321bc421e773c3b81c71cae95de042 (patch) | |
tree | 449b823eead47fe81a1d91597877b7bcd501ef15 /meta/packages/db | |
parent | 9153c1709f11bcf38831a1f2d399a5d22f935b2f (diff) | |
download | poky-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/packages/db')
-rw-r--r-- | meta/packages/db/db_4.2.52.bb | 4 |
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" | |||
14 | LICENSE = "BSD Sleepycat" | 14 | LICENSE = "BSD Sleepycat" |
15 | VIRTUAL_NAME ?= "virtual/db" | 15 | VIRTUAL_NAME ?= "virtual/db" |
16 | CONFLICTS = "db3" | 16 | CONFLICTS = "db3" |
17 | PR = "r6" | 17 | PR = "r7" |
18 | 18 | ||
19 | SRC_URI = "http://downloads.sleepycat.com/db-${PV}.tar.gz" | 19 | SRC_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 | } |