mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-03 00:29:35 +02:00
16 lines
253 B
Bash
16 lines
253 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
umask 0022
|
|
ACTION="$1"
|
|
VERSION="$2"
|
|
|
|
if [ "$ACTION" = "configure" ]; then
|
|
# add the snapcast user
|
|
if ! getent passwd snapcast >/dev/null; then
|
|
adduser --quiet --ingroup audio --system --no-create-home snapcast
|
|
fi
|
|
fi
|
|
|
|
#DEBHELPER#
|