[IMP] debian: uninstalling the package will delete /var/lib/openerp but not the filestore.

bzr revid: vmt@openerp.com-20130227161101-mzz3wluzrez7l74n
This commit is contained in:
Vo Minh Thu 2013-02-27 17:11:01 +01:00
parent 7b0b43a40b
commit 4cc693fc41
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ case "${1}" in
remove)
deluser --quiet --system "openerp" || true
delgroup --quiet --system --only-if-empty "openerp" || true
find /var/lib/openerp -path '/var/lib/openerp/*' ! -path '/var/lib/openerp/filestore*' -delete
;;
purge)