Merge pull request #561 from WordOps/updating-configuration
Fix wo stack migrate mariadb
This commit is contained in:
@@ -49,7 +49,7 @@ class WOStackMigrateController(CementBaseController):
|
||||
current_mysql_version = current_mysql_version[5]
|
||||
|
||||
mariadb_release = WOVar.mariadb_ver
|
||||
if mariadb_release <= current_mysql_version:
|
||||
if mariadb_release != current_mysql_version:
|
||||
Log.info(self, "You already have the latest "
|
||||
"MariaDB version available")
|
||||
return 0
|
||||
@@ -59,7 +59,7 @@ class WOStackMigrateController(CementBaseController):
|
||||
"{version}/{distro} {codename} main"
|
||||
.format(version=current_mysql_version,
|
||||
distro=WOVar.wo_distro,
|
||||
codename=WOVar.platform_codename))
|
||||
codename=WOVar.wo_platform_codename))
|
||||
|
||||
if WOFileUtils.grepcheck(
|
||||
self, '/etc/apt/sources.list.d/wo-repo.list',
|
||||
|
||||
Reference in New Issue
Block a user