[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

directory not empty message



Hello list

When purging my mysql-server package I always get the following message:
Purging configuration files for mysql-server ...
dpkg - warning: while removing mysql-server, directory `/var/lib/mysql'
not empty so not removed.

How can I get rid of it ? I tried to do a 
if [ "$1" = "purge" ]; then rm -rf /var/lib/mysql; fi 
in the prerm script but it seems that it always gets called with 
"remove" as argument and postrm is the only script that gets called 
with "purge". 

Any ideas ?

bye,

 -christian-

-- 
Linux - the choice of the GNU generation.          Join the Debian Project 
                                                     http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01


Reply to: