The script  install_mysql5158_rpm.sh not detect RHEL, I made a simple
fix and now can detect and install mysql:


*** original    2012-04-03 02:51:55.000000000 -0300
--- install_mysql5158_rpm.sh    2012-05-29 10:03:43.000000000 -0300
***************
*** 6,12 ****
  mysql_repo="/etc/yum.repos.d/cloud-mysql-temp.repo"

  check_distro() {
!     cat /etc/redhat-release | grep 'CentOS release 5.'
      if [ "$?" -ne 0 ]; then
          err "Only supporting to install on Rhel5.x or CentOS5.x"
          return 1
--- 6,12 ----
  mysql_repo="/etc/yum.repos.d/cloud-mysql-temp.repo"

  check_distro() {
!     cat /etc/redhat-release | grep 'release 5.'
      if [ "$?" -ne 0 ]; then
          err "Only supporting to install on Rhel5.x or CentOS5.x"
          return 1


--
Saludos !!
Ezequiel ;)

Reply via email to