diff options
author | Vincent Grande | 2020-10-08 18:42:42 -0400 |
---|---|---|
committer | Vincent Grande | 2020-10-08 18:42:42 -0400 |
commit | 2b1a7d6ed5c1992f60f7b443d0a4a7ac070d3b6c (patch) | |
tree | e959e279002abeafa1e7ba244bbb388bdca47903 /dbus.install | |
download | aur-2b1a7d6ed5c1992f60f7b443d0a4a7ac070d3b6c.tar.gz |
initial upload
Diffstat (limited to 'dbus.install')
-rw-r--r-- | dbus.install | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dbus.install b/dbus.install new file mode 100644 index 000000000000..f381070479d8 --- /dev/null +++ b/dbus.install @@ -0,0 +1,18 @@ +pre_install() { + + groupadd -r -g 81 dbus + useradd -M -N -r -u 81 -g 81 -d / -s /sbin/nologin -c "system message bus" dbus +} + +post_install() { + + ## Set permissions on dbus-daemon-launch-helper + + chown root:dbus /usr/lib/dbus-1.0/dbus-daemon-launch-helper + chmod 4750 /usr/lib/dbus-1.0/dbus-daemon-launch-helper +} + +post_upgrade() { + + post_install +} |