~ubuntu-branches/ubuntu/precise/boinc/precise

« back to all changes in this revision

Viewing changes to debian/boinc-server.postinst

Tags: 6.12.8+dfsg-1
* New upstream release.
* Simplified debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
# postinst script for boinc-server
 
3
 
 
4
set -e
 
5
 
 
6
case "$1" in
 
7
    configure)
 
8
        # Create boincadm group if it doesn't already exist.
 
9
        if ! getent group boincadm >/dev/null; then
 
10
            addgroup --quiet --system boincadm
 
11
        fi
 
12
    ;;
 
13
 
 
14
    abort-upgrade|abort-remove|abort-deconfigure)
 
15
    ;;
 
16
 
 
17
    *)
 
18
        echo "postinst called with unknown argument \`$1'" >&2
 
19
        exit 1
 
20
    ;;
 
21
esac
 
22
 
 
23
#DEBHELPER#
 
24
 
 
25
exit 0