aboutsummaryrefslogtreecommitdiffstats
path: root/community/colord/colord.pre-install
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-04-26 16:10:35 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2019-05-01 15:35:38 +0000
commit9c6c4d09686c4d43f34fc0cbaadc7eb8cfbad963 (patch)
tree7e21cfc835644aa3e2f28034837fe534f1816007 /community/colord/colord.pre-install
parent07527e9196c53c99c60e07f470dd5a8178c8de60 (diff)
community/colord: add colord user in pre-install
Diffstat (limited to 'community/colord/colord.pre-install')
-rw-r--r--community/colord/colord.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/community/colord/colord.pre-install b/community/colord/colord.pre-install
new file mode 100644
index 00000000000..59b278adfa8
--- /dev/null
+++ b/community/colord/colord.pre-install
@@ -0,0 +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
+
+exit 0