diff options
author | Brian Evans <grknight@gentoo.org> | 2017-10-02 13:12:17 -0400 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2017-10-02 13:13:52 -0400 |
commit | bc4b6477a76cbf6a0db03a3fb7582bba49fa581c (patch) | |
tree | a4b0ce4768b36646c05e3d93c2daf93794fd5c6a /eclass/mysql-cmake.eclass | |
parent | dev-db/mariadb: Remove duplicated management of runtime directories (diff) | |
download | gentoo-bc4b6477a76cbf6a0db03a3fb7582bba49fa581c.tar.gz gentoo-bc4b6477a76cbf6a0db03a3fb7582bba49fa581c.tar.bz2 gentoo-bc4b6477a76cbf6a0db03a3fb7582bba49fa581c.zip |
mysql-{cmake,multilib-r1}.eclass: Remove duplicated management of runtime directories
Closes: https://bugs.gentoo.org/show_bug.cgi?id=632694
Diffstat (limited to 'eclass/mysql-cmake.eclass')
-rw-r--r-- | eclass/mysql-cmake.eclass | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/eclass/mysql-cmake.eclass b/eclass/mysql-cmake.eclass index 2963a97ada80..cd9e9fe294f6 100644 --- a/eclass/mysql-cmake.eclass +++ b/eclass/mysql-cmake.eclass @@ -504,27 +504,6 @@ mysql-cmake_src_install() { # Minimal builds don't have the MySQL server if use_if_iuse minimal ; then : - elif ! in_iuse server || use_if_iuse server ; then - einfo "Creating initial directories" - # Empty directories ... - diropts "-m0750" - if [[ ${PREVIOUS_DATADIR} != "yes" ]] ; then - dodir "${MY_DATADIR#${EPREFIX}}" - keepdir "${MY_DATADIR#${EPREFIX}}" - nonfatal fowners -R mysql:mysql "${D}/${MY_DATADIR}" - fi - - diropts "-m0755" - for folder in "${MY_LOGDIR#${EPREFIX}}" ; do - dodir "${folder}" - keepdir "${folder}" - nonfatal fowners -R mysql:mysql "${ED}/${folder}" - done - fi - - # Minimal builds don't have the MySQL server - if use_if_iuse minimal ; then - : elif ! in_iuse server || use_if_iuse server; then einfo "Including support files and sample configurations" docinto "support-files" |