debian/cubicweb-server.postinst
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 17 Feb 2014 15:01:23 +0100
changeset 9546 a0cf2993b6d3
parent 0 b97547f5f1fa
permissions -rw-r--r--
[server] Handle unique constraint violations under recent sqlite The error message changed from "columns foo, bar, baz are not unique" to "UNIQUE constraint failed: table.foo, table.bar, table.baz". Closes #3564510

#! /bin/sh -e

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