diff options
Diffstat (limited to 'debian/mariadb-common.postrm')
-rw-r--r-- | debian/mariadb-common.postrm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/mariadb-common.postrm b/debian/mariadb-common.postrm new file mode 100644 index 00000000..d0bfa266 --- /dev/null +++ b/debian/mariadb-common.postrm @@ -0,0 +1,16 @@ +#!/bin/sh + +set -e + +case "$1" in + remove|disappear) + # New packaging paradigm for my.cnf handling among MySQL variants + # Used in Ubuntu since Dec-2014 and in Debian since Jul-2015 + if [ -f /usr/share/mysql-common/configure-symlinks ] + then + /usr/share/mysql-common/configure-symlinks remove mariadb "/etc/mysql/mariadb.cnf" + fi + ;; +esac + +#DEBHELPER# |