debian/cubicweb-twisted.postinst
author Samuel Trégouët <samuel.tregouet@logilab.fr>
Mon, 21 Dec 2015 12:16:12 +0100
changeset 11020 c8c8f6a6147f
parent 0 b97547f5f1fa
permissions -rw-r--r--
[dataimport] massive_store: drop all constraints in __init__ and restore all in finish This should avoid dependency issues when dropping specific constraints (e.g. when dropping a primary constraint referenced by a foreign key constraint). We only do this in master mode, slave mode stores are supposed to work with an initialized db already.

#! /bin/sh -e

if [ -x "/etc/init.d/cubicweb-ctl" ]; then
    invoke-rc.d cubicweb-ctl restart || true
fi
 
 
#DEBHELPER#
 
exit 0