aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2022-04-20 01:41:56 +0200
committerJakub Jirutka <jakub@jirutka.cz>2022-04-20 01:41:56 +0200
commit993ef7e9cde2865ecd271b5fa90b67bd78d1edf3 (patch)
tree7a3eb7f627a93cad87c077178ce6afb3d514138e
parent84ca26cd4b52b82abb1bdfb20c2e6686349c5dad (diff)
downloadaports-993ef7e9cde2865ecd271b5fa90b67bd78d1edf3.tar.gz
aports-993ef7e9cde2865ecd271b5fa90b67bd78d1edf3.tar.bz2
aports-993ef7e9cde2865ecd271b5fa90b67bd78d1edf3.tar.xz
community/colord: fix adduser command in pre-install
The home directory directory for the service should not be created by the pre-install script, but by the package (which already is).
-rw-r--r--community/colord/APKBUILD2
-rw-r--r--community/colord/colord.pre-install2
2 files changed, 2 insertions, 2 deletions
diff --git a/community/colord/APKBUILD b/community/colord/APKBUILD
index c9be085e5f..acbec17833 100644
--- a/community/colord/APKBUILD
+++ b/community/colord/APKBUILD
@@ -4,7 +4,7 @@
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=colord
pkgver=1.4.6
-pkgrel=0
+pkgrel=1
pkgdesc="System daemon for managing color devices"
url="http://www.freedesktop.org/software/colord"
arch="all !s390x !riscv64" # blocked by polkit
diff --git a/community/colord/colord.pre-install b/community/colord/colord.pre-install
index 59b278adfa..dad0865aab 100644
--- a/community/colord/colord.pre-install
+++ b/community/colord/colord.pre-install
@@ -1,6 +1,6 @@
#!/bin/sh
addgroup -S colord 2>/dev/null
-adduser -S -D -h /var/lib/colord -s /sbin/nologin -G colord -g colord colord 2>/dev/null
+adduser -S -D -H -h /var/lib/colord -s /sbin/nologin -G colord -g colord colord 2>/dev/null
exit 0