turn make_relations_query into a true generator (this allows interleaving of actual entities linking and query generation)
restore check botched in previous inadvertent commit
#! /bin/sh -ecase "$1" in remove) if [ -x "/etc/init.d/cubicweb-ctl" ]; then invoke-rc.d cubicweb-ctl stop || true fi ;;esac#DEBHELPER#exit 0