mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 02:35:23 +03:00
Fixes the problem I unintentionally brought in commit ccc056dbf9
:
system user creation doesn't add same named group and uses nogroup as
primary group unless explicitly specified via -G.
Brings status quo regarding primary groups of users created in packages:
- community/caddy
- community/domoticz
- community/oscam
- community/syncthing
6 lines
149 B
Bash
6 lines
149 B
Bash
#!/bin/sh
|
|
|
|
addgroup -S domoticz 2>/dev/null
|
|
adduser -S -D -h /var/lib/domoticz -s /sbin/nologin -G domoticz -g domoticz domoticz 2>/dev/null
|
|
|
|
exit 0
|