#!/bin/sh

set -e

if [ "$1" = "remove" -o "$1" = "purge" ]; then
	echo "Removing index /var/lib/apt-xapian-index..."
	rm -rf /var/lib/apt-xapian-index
fi

if [ "$1" = "remove" -o "$1" = "purge" ]; then
	rm -ff /usr/share/apt-xapian-index/plugins/*.pyc
fi

#DEBHELPER#

exit 0
