summaryrefslogtreecommitdiffstats
path: root/devel/dbus/pkg-install
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2010-02-14 02:58:00 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2010-02-14 02:58:00 +0800
commitb4d77090000935d6c60771bbeaa4717cbd86e9fc (patch)
tree0ff57c929787fb878507245e6f54ff000689044e /devel/dbus/pkg-install
parent24c50d5501f2d6acbdc79067777f6df120ca47d0 (diff)
downloadmarcuscom-ports-b4d77090000935d6c60771bbeaa4717cbd86e9fc.tar
marcuscom-ports-b4d77090000935d6c60771bbeaa4717cbd86e9fc.tar.gz
marcuscom-ports-b4d77090000935d6c60771bbeaa4717cbd86e9fc.tar.bz2
marcuscom-ports-b4d77090000935d6c60771bbeaa4717cbd86e9fc.tar.lz
marcuscom-ports-b4d77090000935d6c60771bbeaa4717cbd86e9fc.tar.xz
marcuscom-ports-b4d77090000935d6c60771bbeaa4717cbd86e9fc.tar.zst
marcuscom-ports-b4d77090000935d6c60771bbeaa4717cbd86e9fc.zip
Update to 1.2.18.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13621 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/dbus/pkg-install')
-rw-r--r--devel/dbus/pkg-install14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/dbus/pkg-install b/devel/dbus/pkg-install
new file mode 100644
index 000000000..5ad0a1f84
--- /dev/null
+++ b/devel/dbus/pkg-install
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+case $2 in
+POST-INSTALL)
+ USER=messagebus
+ GROUP=${USER}
+
+ /usr/bin/install -d -o ${USER} -g ${GROUP} /var/run/dbus
+ /usr/bin/install -d -o ${USER} -g ${GROUP} /var/db/dbus
+ /usr/bin/chgrp ${GROUP} ${PKG_PREFIX}/libexec/dbus-daemon-launch-helper
+ ${PKG_PREFIX}/bin/dbus-uuidgen --ensure
+ exit 0
+ ;;
+esac