Update index.py

This commit is contained in:
midoks
2022-11-07 11:50:32 +08:00
parent 53e6307693
commit 0b0773851a
+3 -3
View File
@@ -125,13 +125,13 @@ def contentReplace(content):
cfg = getCfg()
if (cfg['choose'] == "mysql"):
if cfg['choose'] == "mysql":
content = content.replace('{$CHOOSE_DB}', 'mysql')
content = content.replace('{$CHOOSE_DB_DIR}', 'mysql')
elif (cfg['choose'] == "mysql-apt"):
elif cfg['choose'] == "mysql-apt":
content = content.replace('{$CHOOSE_DB}', 'mysql')
content = content.replace('{$CHOOSE_DB_DIR}', 'mysql-apt')
elif (cfg['choose'] == "mysql-yum"):
elif cfg['choose'] == "mysql-yum":
content = content.replace('{$CHOOSE_DB}', 'mysql')
content = content.replace('{$CHOOSE_DB_DIR}', 'mysql-yum')
else: