rmscript="update-openoffice-dicts"

if [ "$1" = "remove" ]; then
    if which $rmscript > /dev/null 2>&1; then
	$rmscript
    else
	echo "Warning: $rmscript not present or executable." >&2
    fi
fi
