Revision 2112, 393 bytes
(checked in by jalet, 20 years ago)
|
More work on Debian packaging
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
Line | |
---|
1 | #!/bin/sh -e |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | . /usr/share/debconf/confmodule |
---|
5 | |
---|
6 | if [ "$1" = "install" -o "$1" = "upgrade" ]; then |
---|
7 | if ! id -g pykota > /dev/null 2>&1 ; then |
---|
8 | addgroup --system pykota |
---|
9 | fi |
---|
10 | if ! id -u pykota > /dev/null 2>&1 ; then |
---|
11 | adduser --system --home /etc/pykota --ingroup pykota pykota |
---|
12 | chsh -s /bin/sh pykota |
---|
13 | fi |
---|
14 | fi |
---|
15 | |
---|
16 | exit 0 |
---|