mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-04 00:59:32 +02:00
Fix adding the snapclient user to audio group
This commit is contained in:
parent
c1a5a52bc6
commit
d832d457e1
1 changed files with 2 additions and 4 deletions
|
@ -178,9 +178,7 @@ installsysv:
|
|||
/etc/init.d/$(BIN) start; \
|
||||
|
||||
adduser:
|
||||
@if ! getent passwd snapclient >/dev/null; then \
|
||||
useradd --gid audio --system snapclient; \
|
||||
fi; \
|
||||
sh ../debian/snapclient.postinst configure
|
||||
|
||||
ifeq ($(TARGET), MACOS)
|
||||
|
||||
|
@ -227,5 +225,5 @@ uninstallsystemd:
|
|||
systemctl daemon-reload; \
|
||||
|
||||
deluser:
|
||||
@userdel --force snapclient > /dev/null || true; \
|
||||
sh ../debian/snapclient.postrm purge
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue