| 1 | # Copyright 1999-2006 Gentoo Foundation |
1 | # Copyright 1999-2006 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.48 2006/12/10 18:32:03 vivo Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.49 2006/12/13 11:11:26 vivo Exp $ |
| 4 | |
4 | |
| 5 | # Author: Francesco Riosa <vivo@gentoo.org> |
5 | # Author: Francesco Riosa <vivo@gentoo.org> |
| 6 | # Maintainer: Luca Longinotti <chtekk@gentoo.org> |
6 | # Maintainer: Luca Longinotti <chtekk@gentoo.org> |
| 7 | |
7 | |
| 8 | # Both MYSQL_VERSION_ID and MYSQL_PATCHSET_REV must be set in the ebuild too |
8 | # Both MYSQL_VERSION_ID and MYSQL_PATCHSET_REV must be set in the ebuild too |
| … | |
… | |
| 619 | # Make sure the vars are correctly initialized |
619 | # Make sure the vars are correctly initialized |
| 620 | mysql_init_vars |
620 | mysql_init_vars |
| 621 | |
621 | |
| 622 | [[ -z "${DATADIR}" ]] && die "Sorry, unable to find DATADIR" |
622 | [[ -z "${DATADIR}" ]] && die "Sorry, unable to find DATADIR" |
| 623 | |
623 | |
| 624 | if built_with_use dev-db/mysql minimal ; then |
624 | if built_with_use ${CATEGORY}/${PN} minimal ; then |
| 625 | die "Minimal builds do NOT include the MySQL server" |
625 | die "Minimal builds do NOT include the MySQL server" |
| 626 | fi |
626 | fi |
| 627 | |
627 | |
| 628 | local pwd1="a" |
628 | local pwd1="a" |
| 629 | local pwd2="b" |
629 | local pwd2="b" |
| … | |
… | |
| 724 | wait %1 |
724 | wait %1 |
| 725 | einfo "Done" |
725 | einfo "Done" |
| 726 | } |
726 | } |
| 727 | |
727 | |
| 728 | mysql_pkg_postrm() { |
728 | mysql_pkg_postrm() { |
| 729 | mysql_lib_symlinks |
729 | : #mysql_lib_symlinks |
| 730 | } |
730 | } |