Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > e9f6ba0664aafd2af95a2136afbdea99 > scriptlet

mariadb-common-core-5.5.45-1.mga4.x86_64.rpm

PREIN

/bin/sh
# enable plugins
if [ -f /etc/my.cnf ]; then
    perl -pi -e "s|^#plugin-load|plugin-load|g" /etc/my.cnf
    perl -pi -e "s|^#federated|federated|g" /etc/my.cnf
    # switch to federatedx provider
    perl -pi -e "s|;ha_federated\.so$|;ha_federatedx\.so|g" /etc/my.cnf
fi