Project

General

Profile

Download (506 Bytes) Statistics
| Branch: | Tag: | Revision:

root / debian / postinst @ 507079e2

1
#! /bin/sh
2

    
3
set -e
4

    
5
case "$1" in
6
  configure)
7
    if ! getent passwd wcs-au-quotidien >/dev/null; then
8
      adduser --disabled-password  --quiet --system \
9
        --home /var/lib/wcs-au-quotidien --no-create-home\
10
        --gecos "w.c.s. Au quotidien" --group wcs-au-quotidien
11
      chown wcs-au-quotidien: /var/lib/wcs-au-quotidien
12
    fi
13
  ;;
14
  abort-upgrade|abort-remove|abort-deconfigure)
15
  ;;
16
  *)
17
    echo "postinst called with unknown argument \`$1'" >&2
18
    exit 1
19
  ;;
20
esac
21

    
22
#DEBHELPER#
23

    
24
exit 0
(5-5/8)