dev-db/mysql: move /usr/sql-bench to /usr/share/mysql
authorThomas Deutschmann <whissi@gentoo.org>
Sat, 17 Aug 2019 00:34:01 +0000 (02:34 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Sat, 17 Aug 2019 00:50:06 +0000 (02:50 +0200)
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
dev-db/mysql/mysql-5.6.44-r1.ebuild [moved from dev-db/mysql/mysql-5.6.44.ebuild with 99% similarity]
dev-db/mysql/mysql-5.6.45-r1.ebuild [moved from dev-db/mysql/mysql-5.6.45.ebuild with 99% similarity]

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 db524e08ba432ba56651c5fe3e9b08c900cf4032..c870688eb8e96a8bc55e8be35a12cbcd83fd3ab0 100644 (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.
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 4c2579a3156e3969b6c9be8a60d876424601c12e..cda536ad33fbfe3248659a695aaf6ebb2bfb8ffe 100644 (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.