mariadb/support-files/debian/mysql-server.postrm
monty@donna.mysql.com be5e4e72b6 Small bug fixes
2000-09-07 04:55:17 +03:00

13 lines
253 B
Bash

#!/bin/sh
update-alternatives --auto mysqld
if [ "$1" = "purge" ]
then
update-rc.d mysql remove >/dev/null
echo -n " Shall I also remove all of the databases (y/N)?"; read ans
if [ "$ans" = "y" -o "$ans" = "Y" ]; then
rm -rf /var/mysql
fi
fi