mariadb: remove mysql_upgrade_wizard.exe (closes #2314)

Use Arrays for notes and post_install
This commit is contained in:
Richard Kuhnt 2018-06-17 12:46:08 +02:00
parent 13db85e177
commit d66d72d4ad

View File

@ -41,20 +41,19 @@
"bin\\mysql_tzinfo_to_sql.exe", "bin\\mysql_tzinfo_to_sql.exe",
"bin\\mysql_upgrade.exe", "bin\\mysql_upgrade.exe",
"bin\\mysql_upgrade_service.exe", "bin\\mysql_upgrade_service.exe",
"bin\\mysql_upgrade_wizard.exe",
"bin\\my_print_defaults.exe" "bin\\my_print_defaults.exe"
], ],
"persist": [ "persist": [
"data" "data"
], ],
"post_install": "#Initialize data directory (without generating root password) "post_install": [
if (!(Test-Path \"$dir\\data\\auto.cnf\")) { "# Initialize data directory (without generating root password)",
mysqld --initialize-insecure "if (!(Test-Path \"$dir\\data\\auto.cnf\")) { mysqld --initialize-insecure }"
}", ],
"notes": "Run following command as administrator to run MariaDB as a service. "notes": [
"Run following command as administrator to run MariaDB as a service.\n",
mysqld --install \"[Service Name(default:MySQL)]\" "mysqld --install \"[Service Name(default:MySQL)]\"\n"
", ],
"checkver": { "checkver": {
"url": "https://downloads.mariadb.org/", "url": "https://downloads.mariadb.org/",
"re": "Download ([\\d.]+) Stable" "re": "Download ([\\d.]+) Stable"