Deb: use deb-sys-maint user credentials to configure MariaDB plugins

On systems with unix socket authentication root could run these
without any special maintenance accounts.
This commit is contained in:
Otto Kekäläinen
2016-10-29 02:55:19 +03:00
parent 02a6f61a8a
commit 7316b14144
3 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ set -e
# Install Mroonga
# No user or password parameter is required with new MariaDB that
# has unix socket authentication support by default.
mysql < /usr/share/mysql/mroonga/install.sql || true
mysql --defaults-file=/etc/mysql/debian.cnf < /usr/share/mysql/mroonga/install.sql || true
# Always exit with success instead of leaving dpkg in a broken state