summaryrefslogtreecommitdiffstats
path: root/debian/mariadb-common.postrm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:24:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:24:44 +0000
commitbf772a107fc4511b6e3e5aafddb762ca3fa74f0b (patch)
tree8d994c2f3d8e9f01da4d334f90a20798760d9318 /debian/mariadb-common.postrm
parentAdding upstream version 1:10.11.6. (diff)
downloadmariadb-bf772a107fc4511b6e3e5aafddb762ca3fa74f0b.tar.xz
mariadb-bf772a107fc4511b6e3e5aafddb762ca3fa74f0b.zip
Adding debian version 1:10.11.6-2.debian/1%10.11.6-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/mariadb-common.postrm')
-rw-r--r--debian/mariadb-common.postrm16
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..2548733a
--- /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#