Line for the preparation of onions