debian/cubicweb-server.postinst
author Alain Leufroy <alain.leufroy@logilab.fr>
Thu, 04 Mar 2010 08:50:03 +0100
branchstable
changeset 4779 dce36da37d40
parent 0 b97547f5f1fa
permissions -rw-r--r--
fix: Prevent multi pass in restore_previous_post by adding a conditional return add the top of the methode.

#! /bin/sh -e

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