pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mariadb104-server: substitute properly



Module Name:	pkgsrc-wip
Committed By:	nia <nia%netbsd.org@localhost>
Pushed By:	nee
Date:		Thu Apr 29 13:35:25 2021 +0200
Changeset:	54b672bfc9ee2ad513cfd6ba58c109ef2b2b313f

Modified Files:
	mariadb104-server/files/mariadb.sh

Log Message:
mariadb104-server: substitute properly

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=54b672bfc9ee2ad513cfd6ba58c109ef2b2b313f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 mariadb104-server/files/mariadb.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diffs:
diff --git a/mariadb104-server/files/mariadb.sh b/mariadb104-server/files/mariadb.sh
index e0ac86b60a..3ab5fe18f0 100644
--- a/mariadb104-server/files/mariadb.sh
+++ b/mariadb104-server/files/mariadb.sh
@@ -33,7 +33,7 @@ mariadb_initdb() {
 		echo "Initializing MariaDB database system tables."
 		sh @PREFIX@/bin/mysql_install_db --force \
 			--auth-root-authentication-method=normal \
-			--user=mariadb \
+			--user=@MARIADB_USER@ \
 			--datadir=@MARIADB_DATADIR@
 		if [ -d @MARIADB_DATADIR@ ]; then
 			/usr/sbin/chown -R @MARIADB_USER@:@MARIADB_GROUP@ \


Home | Main Index | Thread Index | Old Index