File: morty.postinst

package info (click to toggle)
morty 0.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 260 kB
  • sloc: sh: 9; makefile: 4
file content (13 lines) | stat: -rw-r--r-- 258 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

if [ "$1" = "configure" ]; then
	if ! getent passwd morty >/dev/null; then
		adduser --system --quiet --group --no-create-home --home /nonexistent --gecos "morty user" --disabled-login --disabled-password morty
	fi
fi

#DEBHELPER#

exit 0