diff options
author | Leon Woestenberg <leon.woestenberg@gmail.com> | 2007-05-05 22:44:35 +0000 |
---|---|---|
committer | Leon Woestenberg <leon.woestenberg@gmail.com> | 2007-05-05 22:44:35 +0000 |
commit | a5a60c82130068a55a2e9acd441b961103c8c978 (patch) | |
tree | c082cb7787a4111cb2fbb2bd83189995c5bf4288 /packages/db | |
parent | 54114230ff254768881b7b63de2a6cbcf9fa59e3 (diff) |
db: Use rm -rf instead of rmdir (which broke re-installation).
Diffstat (limited to 'packages/db')
-rw-r--r-- | packages/db/db_4.2.52.bb | 2 | ||||
-rw-r--r-- | packages/db/db_4.3.29.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/db/db_4.2.52.bb b/packages/db/db_4.2.52.bb index 05565287f5..a0c394f7a4 100644 --- a/packages/db/db_4.2.52.bb +++ b/packages/db/db_4.2.52.bb @@ -91,7 +91,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 } diff --git a/packages/db/db_4.3.29.bb b/packages/db/db_4.3.29.bb index 3c14b9eb96..474e73724f 100644 --- a/packages/db/db_4.3.29.bb +++ b/packages/db/db_4.3.29.bb @@ -92,7 +92,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 } |