2009-05-04 23:58:22 +02:00
|
|
|
#
|
2009-12-11 12:06:41 +01:00
|
|
|
# This script fixes permissions for dbus-daemon-launch-helper.
|
2009-05-04 23:58:22 +02:00
|
|
|
#
|
2009-12-11 12:06:41 +01:00
|
|
|
dbus_launch=usr/libexec/dbus-daemon-launch-helper
|
2009-05-04 23:58:22 +02:00
|
|
|
|
|
|
|
case "${ACTION}" in
|
|
|
|
post)
|
2011-08-14 10:57:05 +02:00
|
|
|
[ ! -d var/lib/dbus ] && install -d var/lib/dbus
|
2011-08-12 09:27:10 +02:00
|
|
|
[ ! -d etc/dbus-1/session.d ] && install -d etc/dbus-1/session.d
|
2013-02-25 22:58:50 +01:00
|
|
|
chown root:22 ${dbus_launch}
|
2009-05-04 23:58:22 +02:00
|
|
|
chmod 4750 ${dbus_launch}
|
|
|
|
;;
|
|
|
|
esac
|