debian/cubicweb-server.prerm
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Tue, 16 Apr 2013 13:44:01 +0200
branchstable
changeset 8890 57ffd0e0643d
parent 0 b97547f5f1fa
permissions -rw-r--r--
[clean_session] revert itervalues usage from 0bb18407c053 self.close(session) changes the self._sessions content. We need to create a full list of value before starting closing them.

#! /bin/sh -e
 
case "$1" in
    remove)
	if [ -x "/etc/init.d/cubicweb-ctl" ]; then
	    invoke-rc.d cubicweb-ctl stop || true
	fi
    ;;
esac
 
#DEBHELPER#
 
exit 0