File: postinst

package info (click to toggle)
fdm 1.9%2Bgit20181219-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 1,108 kB
  • sloc: ansic: 15,416; yacc: 2,042; makefile: 135; awk: 52; sh: 29
file content (14 lines) | stat: -rw-r--r-- 290 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh
set -e

#DEBHELPER#
if ! getent 'passwd' 'debianfdm' > /dev/null ; then
    adduser --quiet \
            --system \
            --no-create-home \
            --home /nonexistent \
            --disabled-login \
            --disabled-password \
            debianfdm
fi
exit 0