#! /bin/sh -e

case "$1" in
    upgrade|install)
	if [ -n "$2" ] && [ -h /usr/share/doc/libgcj-common ] \
	   && dpkg --compare-versions "$2" lt 1:4.0.2-10
	then
	    rm -f /usr/share/doc/libgcj-common
	fi
esac

#DEBHELPER#
