Files
bongo/debian/bongo.postinst
T
Mario Fetka 00b7cc3f3a
Debian Trixie package bundle / packages (push) Successful in 21m5s
Test Debian package lifecycle
2026-07-21 12:21:43 +02:00

15 lines
308 B
Bash
Executable File

#!/bin/sh
set -e
if [ "$1" = configure ]; then
if command -v systemd-sysusers >/dev/null 2>&1; then
systemd-sysusers bongo-user.conf
elif ! getent passwd bongo >/dev/null 2>&1; then
adduser --system --group --home /var/lib/bongo --no-create-home bongo
fi
fi
#DEBHELPER#
exit 0