Files
bongo/debian/bongo.postinst
T
Mario Fetka 3a67adf647
Debian Trixie package bundle / packages (push) Failing after 46s
Add Debian Trixie development bundles
2026-07-20 20:00:41 +02:00

18 lines
417 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
if command -v systemd-tmpfiles >/dev/null 2>&1; then
systemd-tmpfiles --create bongo.conf
fi
fi
#DEBHELPER#
exit 0