mariadb/debian/mariadb-plugin-mroonga.postinst
Otto Kekäläinen 7316b14144 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.
2016-10-29 03:50:07 +03:00

12 lines
330 B
Bash

#!/bin/sh
set -e
# Install Mroonga
# No user or password parameter is required with new MariaDB that
# has unix socket authentication support by default.
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
#DEBHELPER#