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 <whissi@gentoo.org>
This commit is contained in:
Thomas Deutschmann
2019-08-17 02:34:01 +02:00
parent 1e9163dfe6
commit 2a000ead4c
2 changed files with 8 additions and 0 deletions

View File

@@ -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.

View File

@@ -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.