Update index.py

This commit is contained in:
Mr Chen 2025-01-03 23:54:04 +08:00
parent 7b08a3f1bc
commit 523e54eeb2
1 changed files with 3 additions and 0 deletions

View File

@ -134,6 +134,9 @@ def contentReplace(content):
if cfg['choose'] == "mysql":
content = content.replace('{$CHOOSE_DB}', 'mysql')
content = content.replace('{$CHOOSE_DB_DIR}', 'mysql')
elif cfg['choose'] == "mysql-community":
content = content.replace('{$CHOOSE_DB}', 'mysql-community')
content = content.replace('{$CHOOSE_DB_DIR}', 'mysql-community')
elif cfg['choose'] == "mysql-apt":
content = content.replace('{$CHOOSE_DB}', 'mysql')
content = content.replace('{$CHOOSE_DB_DIR}', 'mysql-apt')