#
# 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:dbus ${dbus_launch}
	chmod 4750 ${dbus_launch}
	;;
esac
