dbus: create/remove etc/dbus-1/session.d, bumprev.
This commit is contained in:
parent
d26480ef5b
commit
808f68f830
3 changed files with 6 additions and 1 deletions
|
@ -5,6 +5,7 @@ dbus_launch=usr/libexec/dbus-daemon-launch-helper
|
|||
|
||||
case "${ACTION}" in
|
||||
post)
|
||||
[ ! -d etc/dbus-1/session.d ] && install -d etc/dbus-1/session.d
|
||||
chown root:dbus ${dbus_launch}
|
||||
chmod 4750 ${dbus_launch}
|
||||
;;
|
||||
|
|
|
@ -2,9 +2,12 @@
|
|||
# This script removes pre-created dirs required for dbus-daemon.
|
||||
#
|
||||
case "${ACTION}" in
|
||||
post)
|
||||
purge)
|
||||
if [ -d var/run/dbus ]; then
|
||||
rm -rf var/run/dbus
|
||||
fi
|
||||
if [ -d etc/dbus-1/session.d ]; then
|
||||
rm -rf etc/dbus-1/session.d
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# Template file for 'dbus'
|
||||
pkgname=dbus
|
||||
version=1.4.14
|
||||
revision=1
|
||||
homepage="http://dbus.freedesktop.org/"
|
||||
distfiles="${homepage}/releases/dbus/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
|
|
Loading…
Reference in a new issue