Fix adding the snapclient user to audio group

This commit is contained in:
badaix 2020-11-24 21:44:13 +01:00
parent c1a5a52bc6
commit d832d457e1

View file

@ -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