| 1 | # Copyright 1999-2005 Gentoo Foundation |
1 | # Copyright 1999-2005 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.17 2006/02/09 13:15:43 vivo Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.18 2006/02/12 14:37:46 vivo Exp $ |
| 4 | |
4 | |
| 5 | # Author: Francesco Riosa <vivo at gentoo.org> |
5 | # Author: Francesco Riosa <vivo at gentoo.org> |
| 6 | # Maintainer: Francesco Riosa <vivo at gentoo.org> |
6 | # Maintainer: Francesco Riosa <vivo at gentoo.org> |
| 7 | |
7 | |
| 8 | inherit eutils flag-o-matic gnuconfig mysql_fx |
8 | inherit eutils flag-o-matic gnuconfig mysql_fx |
| … | |
… | |
| 559 | # # "like grep -q unset" |
559 | # # "like grep -q unset" |
| 560 | # if [[ "{$tmpres}" == "{$tmpres/unset/}" ]] ; then |
560 | # if [[ "{$tmpres}" == "{$tmpres/unset/}" ]] ; then |
| 561 | # eselect mysql set 1 |
561 | # eselect mysql set 1 |
| 562 | # else |
562 | # else |
| 563 | # einfo "The version of mysql emerged now stils is _NOT_ the default" |
563 | # einfo "The version of mysql emerged now stils is _NOT_ the default" |
| 564 | einfo "you may want to run \"eselect myqsl list\" followed by a " |
564 | einfo "you may want to run \"eselect mysql list\" followed by a " |
| 565 | einfo "\"eselect myqsl set 1\" to chose the default mysql server" |
565 | einfo "\"eselect mysql set 1\" to choose the default mysql server" |
| 566 | # fi |
566 | # fi |
| 567 | #fi |
567 | #fi |
| 568 | fi |
568 | fi |
| 569 | |
569 | |
| 570 | # your friendly public service announcement... |
570 | # your friendly public service announcement... |
| … | |
… | |
| 691 | } |
691 | } |
| 692 | |
692 | |
| 693 | mysql_pkg_postrm() { |
693 | mysql_pkg_postrm() { |
| 694 | mysql_lib_symlinks |
694 | mysql_lib_symlinks |
| 695 | if [[ ${SLOT} -gt 0 ]] ; then |
695 | if [[ ${SLOT} -gt 0 ]] ; then |
| 696 | einfo "you may want to run \"eselect myqsl list\" followed by a " |
696 | einfo "you may want to run \"eselect mysql list\" followed by a " |
| 697 | einfo "\"eselect myqsl list\" to chose the default mysql server" |
697 | einfo "\"eselect mysql list\" to choose the default mysql server" |
| 698 | fi |
698 | fi |
| 699 | } |
699 | } |