From a5a60c82130068a55a2e9acd441b961103c8c978 Mon Sep 17 00:00:00 2001 From: Leon Woestenberg Date: Sat, 5 May 2007 22:44:35 +0000 Subject: db: Use rm -rf instead of rmdir (which broke re-installation). --- packages/db/db_4.2.52.bb | 2 +- packages/db/db_4.3.29.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/db') 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 } -- cgit v1.2.3