debian/cubicweb-ctl.prerm
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 24 Apr 2013 14:42:43 +0200
changeset 8943 58b3b2d9c965
parent 6917 e080e7465ac4
permissions -rw-r--r--
[repo] kill rebuildinfered feature from Repository.set_schema This clutters thing and is useless in most cases: when schema just have been readen from the database or from the file-system, infered relations have just be calculated. The only use-case where it should be rebuilt is on migration (ie schema modification by editing the meta-model using rql), so move this feature there.

#! /bin/sh -e
 
case "$1" in
    purge)
	rm -rf /etc/cubicweb.d/
	rm -rf /var/log/cubicweb/
	rm -rf /var/lib/cubicweb/
    ;;
esac
 
#DEBHELPER#
 
exit 0