diff --git a/eclass/mysql.eclass b/eclass/mysql.eclass index 436e29a..1fc7016 100644 --- a/eclass/mysql.eclass +++ b/eclass/mysql.eclass @@ -473,6 +473,11 @@ configure_51() { [[ ${str} = "innodb" ]] && str="innobase" [[ ${str} = "xtradb" ]] && str="innobase" [[ ! -d storage/${str} ]] && eerror "use ${str} but no ${str} plugin" + if [ -e storage/${str}/setup.sh ]; then + pushd storage/${str} + sh setup.sh + popd + fi fi done