fusion one_followers_domain et one_nodes

This commit is contained in:
2019-02-21 13:59:39 +01:00
parent 693532b324
commit 8c28ae6e6b
8 changed files with 57 additions and 99 deletions

View File

@ -43,7 +43,7 @@ function updateDB()
}
function to_mysql() {
if [ "$script" = 'instance' ] && [ $(CreoleGet one_database_type) = "mysql" ] && [ $(CreoleGet one_ha_role leader) = "leader" ]; then
if [ "$script" = 'instance' ] && [ $(CreoleGet one_database_type) = "mysql" ] && [ $(CreoleGet one_ha_server_index 0) = "0" ]; then
Question_ouinon "Voulez-vous migrer de SQLite à Mysql ?" "True" "oui" "warn"
rep=$(echo "$?")
if [ "$rep" == "0" ]; then