mariadb/support-files/debian/mysql-server.postrm

14 lines
253 B
Text
Raw Normal View History

2000-09-07 03:55:17 +02:00
#!/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