aboutsummaryrefslogtreecommitdiffstats
path: root/main/dbus
diff options
context:
space:
mode:
Diffstat (limited to 'main/dbus')
-rw-r--r--main/dbus/APKBUILD3
-rw-r--r--main/dbus/dbus.trigger4
2 files changed, 6 insertions, 1 deletions
diff --git a/main/dbus/APKBUILD b/main/dbus/APKBUILD
index 78bc247ab9..da7f059e4a 100644
--- a/main/dbus/APKBUILD
+++ b/main/dbus/APKBUILD
@@ -1,13 +1,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dbus
pkgver=1.4.1
-pkgrel=0
+pkgrel=1
pkgdesc="Freedesktop.org message bus system"
url="http://www.freedesktop.org/Software/dbus"
pkggroups="messagebus"
arch="x86 x86_64"
license="GPL custom"
subpackages="$pkgname-dev $pkgname-doc"
+triggers="$pkgname.trigger:/etc/dbus-1/system.d"
depends=
makedepends="expat-dev libx11-dev pkgconfig util-linux-ng-dev"
depends_dev="util-linux-ng-dev"
diff --git a/main/dbus/dbus.trigger b/main/dbus/dbus.trigger
new file mode 100644
index 0000000000..a537bd8dfc
--- /dev/null
+++ b/main/dbus/dbus.trigger
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+dbus-send --system --type=method_call --dest=org.freedesktop.DBus / \
+ org.freedesktop.DBUS.ReloadConfig >/dev/null 2>&1 || :