allow to override is_primary result using an argument given to object constructor (have to be given to 'initargs' argument of .render like initargs={'is_primary': False}
#! /bin/sh -e#if [ "$1" = remove -o "$1" = upgrade ]; then if which install-docs >/dev/null 2>&1; then install-docs -r cubicweb-doc fifi#DEBHELPER#exit 0