/usr/share/doc/dbconfig-common/examples/db-test-mysql-2.0/debian/postrm is in dbconfig-common 1.8.47+nmu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | #!/bin/sh
set -e
#set -x
if [ -f /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
fi
if [ -f /usr/share/dbconfig-common/dpkg/postrm.mysql ]; then
. /usr/share/dbconfig-common/dpkg/postrm.mysql
dbc_go db-test-mysql $@
fi
if [ "$1" = "purge" ]; then
rm -f /etc/db-test-mysql/debian-db.php
if which ucf >/dev/null 2>&1; then
ucf --purge /etc/db-test-mysql/debian-db.php
ucfr --purge db-test-mysql /etc/db-test-mysql/debian-db.php
fi
fi
#DEBHELPER#
|