mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 20:36:40 +02:00
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:
parent
84ca26cd4b
commit
993ef7e9cd
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user