File: tircd.postinst

package info (click to toggle)
tircd 0.30-4.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 452 kB
  • sloc: perl: 4,544; sh: 61; makefile: 5
file content (12 lines) | stat: -rw-r--r-- 251 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e

if [ "$1" = "configure" ]; then
	adduser --system --quiet --group --no-create-home --home /nonexistent tircd || true
	mkdir -p /var/log/tircd
	chown -R tircd:tircd /var/log/tircd
	chown -R tircd:tircd /var/lib/tircd
fi

#DEBHELPER#