File: preinst

package info (click to toggle)
otrs2 2.0.4p01-18
  • links: PTS
  • area: main
  • in suites: etch
  • size: 7,900 kB
  • ctags: 4,437
  • sloc: perl: 81,607; xml: 8,135; sql: 8,013; sh: 1,113; makefile: 22; php: 16
file content (23 lines) | stat: -rw-r--r-- 279 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

set -e

OTRSHOME=/usr/share/otrs

case "$1" in
  install)
  adduser --system --home $OTRSHOME --no-create-home --ingroup www-data otrs
  ;;

  upgrade|abort-upgrade)
  ;;

  *)
  echo "preinst called with unknown argument \`$1'" 1>&2
  exit 1
  ;;
esac

#DEBHELPER#