From 38d3ede205189df01e44a40ce137c8ae5cba6547 Mon Sep 17 00:00:00 2001 From: Issac Lin Date: Thu, 11 Aug 2022 15:49:17 +0800 Subject: [PATCH] mariadb: Update post_install related: https://github.com/ScoopInstaller/Scoop/pull/5065 --- bucket/mariadb.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bucket/mariadb.json b/bucket/mariadb.json index a3aa554e17..1a2b257d66 100644 --- a/bucket/mariadb.json +++ b/bucket/mariadb.json @@ -21,7 +21,7 @@ "post_install": [ "if (!(Test-Path \"$dir\\data\\my.ini\") -and !(Test-Path \"$dir\\data\\my.cnf\") -and !(Test-Path \"$dir\\data\\mysql\")) {", " warn 'Initializing data directory ...'", - " Invoke-ExternalCommand -FilePath \"$dir\\bin\\mysql_install_db.exe\" -ArgumentList @(\"--datadir=`\"$dir\\data`\"\")", + " Invoke-ExternalCommand \"$dir\\bin\\mysql_install_db.exe\" -ArgumentList \"--datadir=$dir\\data\" | Out-Null", " warn 'Database has been initialized (username: root, password: )'", "}" ],