File: ippl.postinst

package info (click to toggle)
ippl 1.4.14-13
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 648 kB
  • sloc: ansic: 1,681; yacc: 443; sh: 319; lex: 163; makefile: 92
file content (17 lines) | stat: -rw-r--r-- 283 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
# postinst

set -e

USERNAME="Debian-ippl"

[ -n "$IPPLDEBUG" ] && set -x

# Add user
if [ "$1" = "configure" ]; then
    echo >&2 'Adding system user'
    adduser --system --group --home /run/ippl \
            --disabled-login --force-badname $USERNAME
fi

#DEBHELPER#