Update index.py

pull/125/head
midoks 3 years ago
parent 7a0f93bcb6
commit 0f6cadb146
  1. 2
      plugins/mariadb/index.py

@ -154,7 +154,7 @@ def initDreplace(version=''):
mysql_conf = mysql_conf_dir + '/my.cnf' mysql_conf = mysql_conf_dir + '/my.cnf'
if not os.path.exists(mysql_conf): if not os.path.exists(mysql_conf):
mysql_conf_tpl = getPluginDir() + '/conf/my' + version + '.cnf' mysql_conf_tpl = getPluginDir() + '/conf/my.cnf'
content = mw.readFile(mysql_conf_tpl) content = mw.readFile(mysql_conf_tpl)
content = contentReplace(content) content = contentReplace(content)
mw.writeFile(mysql_conf, content) mw.writeFile(mysql_conf, content)

Loading…
Cancel
Save