cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ezequiel Mc Govern <ezequiel.mcgov...@gmail.com>
Subject MySQL 5.1.58 in REL 5.8
Date Tue, 29 May 2012 13:20:44 GMT
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 ;)

Mime
View raw message