Sophie

Sophie

distrib > Mageia > cauldron > i586 > by-pkgid > 3cd9544224bdacc441ffaac8fec0ac89 > scriptlet

mariadb-10.11.2-1.mga9.i586.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

PREUN

/bin/sh
/usr/share/rpm-helper/del-service mariadb $1 mysqld

POSTIN

/bin/sh
/usr/bin/systemd-tmpfiles --create mysql.conf 

/usr/share/rpm-helper/add-service mariadb $1 mysqld

POSTUN

/bin/sh
/usr/share/rpm-helper/reread-services mariadb