debian/cubicweb-server.postinst
author Julien Cristau <julien.cristau@logilab.fr>
Tue, 21 Jan 2014 11:57:02 +0100
changeset 9421 6b673cb4d3b6
parent 0 b97547f5f1fa
permissions -rw-r--r--
[migractions] Don't silently ignore errors when installing sql procedures If we're going to ignore errors, at least be loud about it. sqlexec already wraps the sql execution in a try/except block, so we were never going to catch any exceptions in the caller. Check the return value instead. Closes #3459618.

#! /bin/sh -e

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