mirror of
https://gitlab.com/CinnamonSlackBuilds/csb.git
synced 2024-12-26 21:59:28 +01:00
colord: Add user creation in the doinst.sh as well.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
39c81adc8c
commit
2f63dff6bf
2 changed files with 6 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
PRGNAM=colord
|
PRGNAM=colord
|
||||||
VERSION=${VERSION:-1.2.12}
|
VERSION=${VERSION:-1.2.12}
|
||||||
BUILD=${BUILD:-2}
|
BUILD=${BUILD:-3}
|
||||||
TAG=${TAG:-_csb}
|
TAG=${TAG:-_csb}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
|
|
@ -18,3 +18,8 @@ if [ -e usr/share/glib-2.0/schemas ]; then
|
||||||
/usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
|
/usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! grep -q ^colord: /etc/group ; then
|
||||||
|
groupadd -g 303 colord
|
||||||
|
useradd -d /var/lib/colord -u 303 -g colord -s /bin/false colord
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue