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).
This commit is contained in:
Jakub Jirutka 2022-04-20 01:41:56 +02:00
parent 84ca26cd4b
commit 993ef7e9cd
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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