[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:
parent
7b0b43a40b
commit
4cc693fc41
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue