[migration] refactor schema migration fix introduced by 5833:d7256ae7c1d1
so the code looks better and avoid clutering lgdb api. Depends on lgdb 1.0.5.
#! /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