debian/cubicweb-twisted.postinst
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Mon, 25 Mar 2013 16:35:18 +0100
changeset 8789 465a87e6a89a
parent 0 b97547f5f1fa
permissions -rw-r--r--
[transaction] use set operation in the hook control code We use direct operator on set instead of looping by hand, This simplify the codes.

#! /bin/sh -e

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