File: tlog.postinst

package info (click to toggle)
tlog 14-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,172 kB
  • sloc: ansic: 15,890; python: 1,185; makefile: 526; sh: 114
file content (15 lines) | stat: -rw-r--r-- 264 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
set -e

if test "$1" = "configure"; then
    # Create tlog user and group
    if ! getent passwd _tlog > /dev/null; then
        adduser --force-badname --quiet --system --group \
		--no-create-home --home /run/tlog _tlog
    fi
fi

#DEBHELPER#

exit 0