summaryrefslogtreecommitdiff
path: root/debian/mariadb-plugin-mroonga.prerm
diff options
context:
space:
mode:
authorOtto Kekäläinen <otto@mariadb.org>2016-10-29 02:55:19 +0300
committerOtto Kekäläinen <otto@mariadb.org>2016-10-29 03:50:07 +0300
commit7316b14144ceeed40dc976b9b5f2aa97f07a3eb3 (patch)
tree13c994046613099daa885077d9d234189cb4471a /debian/mariadb-plugin-mroonga.prerm
parent02a6f61a8ab651c0210bf05b4b697849e985e5e7 (diff)
downloadmariadb-git-7316b14144ceeed40dc976b9b5f2aa97f07a3eb3.tar.gz
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.
Diffstat (limited to 'debian/mariadb-plugin-mroonga.prerm')
-rw-r--r--debian/mariadb-plugin-mroonga.prerm2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/mariadb-plugin-mroonga.prerm b/debian/mariadb-plugin-mroonga.prerm
index 3f1a1c58e8e..3f707f1741f 100644
--- a/debian/mariadb-plugin-mroonga.prerm
+++ b/debian/mariadb-plugin-mroonga.prerm
@@ -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/uninstall.sql || true
+mysql --defaults-file=/etc/mysql/debian.cnf < /usr/share/mysql/mroonga/uninstall.sql || true
# Always exit with success instead of leaving dpkg in a broken state