void-packages/srcpkgs/dbus/INSTALL

15 lines
428 B
Text

#
# This script fixes permissions for dbus-daemon-launch-helper.
#
dbus_launch=usr/libexec/dbus-daemon-launch-helper
case "${ACTION}" in
post)
[ ! -d var/lib/dbus ] && install -d var/lib/dbus
[ ! -d etc/dbus-1/session.d ] && install -d etc/dbus-1/session.d
chown root:22 ${dbus_launch}
chmod 4750 ${dbus_launch}
# In case var/run is detected as obsolete create it again.
[ ! -h var/run ] && ln -sfr /run var/run
;;
esac