~0k.io/ocb-server/usability-and-fix-on-res-partner-1

« back to all changes in this revision

Viewing changes to debian/openerp-server.postrm

Merge commit 'c18f2a7474c9' into mdv-gpl3-py26

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
set -e
 
4
 
 
5
USER="openerp"
 
6
 
 
7
case "${1}" in
 
8
        purge)
 
9
                # Removing system user
 
10
                if [ -x /usr/sbin/deluser ]
 
11
                then
 
12
                        deluser --quiet --system ${USER}
 
13
                fi
 
14
                ;;
 
15
 
 
16
        remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
 
17
 
 
18
                ;;
 
19
 
 
20
        *)
 
21
                echo "postrm called with unknown argument \`${1}'" >&2
 
22
                exit 1
 
23
                ;;
 
24
esac
 
25
 
 
26
#DEBHELPER#
 
27
 
 
28
exit 0