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