dbus: remove /var/run/dbus if pkg is purged. Bumprev.
This commit is contained in:
parent
f22c765450
commit
c48ad0c535
|
@ -4,8 +4,6 @@
|
|||
dbus_launch=usr/libexec/dbus-daemon-launch-helper
|
||||
|
||||
case "${ACTION}" in
|
||||
pre)
|
||||
;;
|
||||
post)
|
||||
chown root:dbus ${dbus_launch}
|
||||
chmod 4750 ${dbus_launch}
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
#
|
||||
# This script removes pre-created dirs required for dbus-daemon.
|
||||
#
|
||||
case "${ACTION}" in
|
||||
post)
|
||||
if [ -d var/run/dbus ]; then
|
||||
rm -rf var/run/dbus
|
||||
fi
|
||||
;;
|
||||
esac
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'dbus'
|
||||
pkgname=dbus
|
||||
version=1.4.0
|
||||
revision=1
|
||||
revision=2
|
||||
distfiles="http://dbus.freedesktop.org/releases/dbus/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
configure_args="--disable-selinux --enable-userdb-cache --with-xml=expat
|
||||
|
@ -38,7 +38,7 @@ Add_dependency build coreutils
|
|||
|
||||
pre_configure()
|
||||
{
|
||||
# XXX: use coreutils, somethings fails with busybox.
|
||||
# XXX: use coreutils, not ready for busybox yet.
|
||||
export PATH="/bin:/sbin:/usr/bin:/usr/sbin:$PATH"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue