summaryrefslogtreecommitdiffstats
path: root/devel/dbus/pkg-install
blob: 5ad0a1f8429c70d59148beb5d0106e2200d21f09 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

case $2 in
POST-INSTALL)
    USER=messagebus
    GROUP=${USER}

    /usr/bin/install -d -o ${USER} -g ${GROUP} /var/run/dbus
    /usr/bin/install -d -o ${USER} -g ${GROUP} /var/db/dbus
    /usr/bin/chgrp ${GROUP} ${PKG_PREFIX}/libexec/dbus-daemon-launch-helper
    ${PKG_PREFIX}/bin/dbus-uuidgen --ensure
    exit 0
    ;;
esac