mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
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
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user