debian/cubicweb-ctl.postrm
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Mon, 06 Jun 2011 15:00:05 +0200
branchstable
changeset 7452 7e8182a63559
parent 0 b97547f5f1fa
child 10559 5821ae654dfd
permissions -rw-r--r--
Fix conditionnal logic broken in 195b24fe3a03 195b24fe3a03 replace: if not req.cnx: by if getattr(req, 'cnx', True): The "not" diseapeared in the process.

#!/bin/sh -e
if [ "$1" = "purge" ] ; then
        update-rc.d cubicweb remove >/dev/null
fi
 
#DEBHELPER#
 
exit 0