1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 20:25:28 +03:00
aports/community/nextcloud/nextcloud.pre-install
Jakub Jirutka 99b45de81c community/nextcloud: create user/group for base pkg
It somehow doesn't work when user/group is created by pre-install
script of subpackage - installed files have wrong GID.
2017-06-25 02:42:47 +02:00

6 lines
161 B
Bash

#!/bin/sh
addgroup -S -g 82 www-data 2>/dev/null
adduser -S -D -H -h /var/lib/nextcloud -s /sbin/nologin -G www-data -g Nextcloud nextcloud 2>/dev/null
exit 0