3 # Try to purge the default lab if it looks like a lab. If the user configured
4 # a lab for some other location, currently we don't do anything about that.
5 # Arguably we should parse lintianrc and remove that lab, but I'm not sure
7 if [ "$1" = "purge" ]; then
8 if [ -d "/var/spool/lintian/binary" ]; then
9 rm -rf /var/spool/lintian/binary
10 rm -rf /var/spool/lintian/source
11 rm -rf /var/spool/lintian/udeb
12 rm -rf /var/spool/lintian/info
14 rmdir --ignore-fail-on-non-empty /var/spool/lintian