From: Thomas Deutschmann Date: Sat, 17 Aug 2019 00:34:01 +0000 (+0200) Subject: dev-db/mysql: move /usr/sql-bench to /usr/share/mysql X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=2a000ead4cfd4fc9713d95fe942362ae1f9ddbe5;p=gentoo.git dev-db/mysql: move /usr/sql-bench to /usr/share/mysql Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Thomas Deutschmann --- diff --git a/dev-db/mysql/mysql-5.6.44.ebuild b/dev-db/mysql/mysql-5.6.44-r1.ebuild similarity index 99% rename from dev-db/mysql/mysql-5.6.44.ebuild rename to dev-db/mysql/mysql-5.6.44-r1.ebuild index db524e08ba43..c870688eb8e9 100644 --- a/dev-db/mysql/mysql-5.6.44.ebuild +++ b/dev-db/mysql/mysql-5.6.44-r1.ebuild @@ -371,6 +371,10 @@ src_install() { rm -Rf "${ED}/usr/data" || die fi + if [[ -d "${ED%/}/usr/sql-bench" ]] ; then + mv "${ED%/}/usr/sql-bench" "${ED%/}/usr/share/mysql/" || die + fi + # Unless they explicitly specific USE=test, then do not install the # testsuite. It DOES have a use to be installed, esp. when you want to do a # validation of your database configuration after tuning it. diff --git a/dev-db/mysql/mysql-5.6.45.ebuild b/dev-db/mysql/mysql-5.6.45-r1.ebuild similarity index 99% rename from dev-db/mysql/mysql-5.6.45.ebuild rename to dev-db/mysql/mysql-5.6.45-r1.ebuild index 4c2579a3156e..cda536ad33fb 100644 --- a/dev-db/mysql/mysql-5.6.45.ebuild +++ b/dev-db/mysql/mysql-5.6.45-r1.ebuild @@ -376,6 +376,10 @@ src_install() { rm -Rf "${ED}/usr/data" || die fi + if [[ -d "${ED%/}/usr/sql-bench" ]] ; then + mv "${ED%/}/usr/sql-bench" "${ED%/}/usr/share/mysql/" || die + fi + # Unless they explicitly specific USE=test, then do not install the # testsuite. It DOES have a use to be installed, esp. when you want to do a # validation of your database configuration after tuning it.