Panel/Agent-Windows/OGP64/etc/preremove/mariadb-connector-c.sh
2026-06-06 18:46:40 -04:00

10 lines
246 B
Bash

if [ -f /etc/my.cnf ] && cmp -s /etc/defaults/etc/my.cnf /etc/my.cnf
then
rm /etc/my.cnf
fi
if [ -f /etc/my.cnf.d/client.cnf ] && cmp -s /etc/defaults/etc/my.cnf.d/client.cnf /etc/my.cnf.d/client.cnf
then
rm /etc/my.cnf.d/client.cnf
fi