#!/bin/sh set -e # Try to purge the default lab if it looks like a lab. If the user configured # a lab for some other location, currently we don't do anything about that. # Arguably we should parse lintianrc and remove that lab, but I'm not sure # that's a good idea. if [ "$1" = "purge" ]; then if [ -d "/var/spool/lintian/binary" ]; then rm -rf /var/spool/lintian/binary rm -rf /var/spool/lintian/source rm -rf /var/spool/lintian/udeb rm -rf /var/spool/lintian/info fi [ ! -d /var/spool/lintian ] || rmdir --ignore-fail-on-non-empty /var/spool/lintian fi #DEBHELPER#