[win32 SQLServer] connection lost detection
The pyodbc driver when connected to SQLServer 2005 reports lost connections in
a quite strange way, raising a pyodbc.Error exception with a specific exc.args value.
This patch catches these and reconnect properly.
#! /bin/sh -e
#
if [ "$1" = remove -o "$1" = upgrade ]; then
if which install-docs >/dev/null 2>&1; then
install-docs -r cubicweb-doc
fi
fi
#DEBHELPER#
exit 0