summaryrefslogtreecommitdiff
path: root/user/dbus
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-07-22 02:13:03 -0400
committerMax Rees <maxcrees@me.com>2019-07-22 02:13:03 -0400
commit93b0513be9422e1666163d89031419412866e370 (patch)
tree8dfdcd50eb8b758584387bd0511968294118119a /user/dbus
parente144e346b829eb39c1d2c82f5bdc4f8d991624b7 (diff)
downloadpackages-93b0513be9422e1666163d89031419412866e370.tar.gz
packages-93b0513be9422e1666163d89031419412866e370.tar.bz2
packages-93b0513be9422e1666163d89031419412866e370.tar.xz
packages-93b0513be9422e1666163d89031419412866e370.zip
user/*: use useradd, groupadd instead of adduser, addgroup
Diffstat (limited to 'user/dbus')
-rw-r--r--user/dbus/APKBUILD2
-rw-r--r--user/dbus/dbus.pre-install5
2 files changed, 4 insertions, 3 deletions
diff --git a/user/dbus/APKBUILD b/user/dbus/APKBUILD
index 72b009f38..d9a305186 100644
--- a/user/dbus/APKBUILD
+++ b/user/dbus/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=dbus
pkgver=1.12.16
-pkgrel=0
+pkgrel=1
pkgdesc="IPC/message bus system, allowing user applications to communicate"
url="http://www.freedesktop.org/wiki/Software/dbus/"
pkggroups="messagebus"
diff --git a/user/dbus/dbus.pre-install b/user/dbus/dbus.pre-install
index 889651721..e5b299aaf 100644
--- a/user/dbus/dbus.pre-install
+++ b/user/dbus/dbus.pre-install
@@ -1,6 +1,7 @@
#!/bin/sh
-addgroup -S messagebus 2>/dev/null
-adduser -S -D -H -h /dev/null -s /sbin/nologin -G messagebus -g "D-Bus User" messagebus 2>/dev/null
+groupadd -r messagebus 2>/dev/null
+useradd -c "D-Bus User" -s /sbin/nologin -g messagebus \
+ -m -d /dev/null -k /etc/skel -r messagebus 2>/dev/null
exit 0