Fix invalid syntax on heat-db-setup
">=" comparison is only supported in certain shells. This patch changes it to "-ge" to fix this. Change-Id: I2bf1294c31d38e18b02bebd190bd4bfa45beedc5 Closes-Bug: #1398535
This commit is contained in:
parent
5432982c79
commit
6a1ff532f9
@ -87,7 +87,7 @@ case "$1" in
|
||||
# Install mariadb-server in rhel7 and fedora
|
||||
if [[ -r /etc/redhat-release ]];then
|
||||
ver=`grep -E -o '[0-9]+([.]?[0-9])*' /etc/redhat-release`
|
||||
if [[ $ver >= 7 ]];then
|
||||
if [[ $ver -ge 7 ]];then
|
||||
SERVICE_MYSQLD="mariadb"
|
||||
DB_SERVER="mariadb-server"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user