[migration] test if entity type has been in the deleted in the transaction should protect both clauses
else we may attempt to execute the UPDATE query on a table which has been
deleted.
Closes #10692374
#!/bin/sh -e
if [ "$1" = "remove" ]; then
update-rc.d cubicweb remove >/dev/null
fi
if [ "$1" = "purge" ] ; then
rm -rf /etc/cubicweb.d/
rm -rf /var/log/cubicweb/
rm -rf /var/lib/cubicweb/
fi
#DEBHELPER#
exit 0