80ce349ead
files. Users and groups won't be deleted at deinstall time as we're lacking a refcount to know if any port is using them. Also convert a few ports while I'm here. PR: ports/108514 Submitted by: mm, self
14 lines
315 B
Bash
14 lines
315 B
Bash
#!/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
|