mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
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
15 lines
315 B
Bash
15 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
|