HEX
Server: nginx/1.24.0
System: Linux 0c1023d6c65e 6.8.0-137-generic #137-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 17 20:28:23 UTC 2026 x86_64
User: root (0)
PHP: 8.3.33
Disabled: NONE
Upload Files
File: /var/lib/dpkg/info/dbus-system-bus-common.postinst
#!/bin/sh
# Copyright © 2003 Colin Walters <walters@debian.org>
# Copyright © 2006 Sjoerd Simons <sjoerd@debian.org>

set -e

MESSAGEUSER=messagebus

in_sysroot () {
    if [ -z "${DPKG_ROOT:-}" ]; then
        "$@"
    else
        chroot "${DPKG_ROOT}" "$@"
    fi
}

case "$1" in
    (configure | abort-upgrade | abort-deconfigure | abort-remove)
        if command -v systemd-sysusers >/dev/null; then
            systemd-sysusers ${DPKG_ROOT:+--root="$DPKG_ROOT"} dbus.conf
        else
            in_sysroot adduser --system --quiet --group "$MESSAGEUSER"
        fi
        ;;
esac