mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-24 20:07:40 +02:00
16 lines
261 B
Bash
16 lines
261 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
umask 0022
|
|
ACTION="$1"
|
|
VERSION="$2"
|
|
|
|
if [ "$ACTION" = "configure" ]; then
|
|
# add the snapclient user
|
|
if ! getent passwd snapclient >/dev/null; then
|
|
useradd --gid audio --system --home-dir /var/lib/snapclient snapclient
|
|
fi
|
|
fi
|
|
|
|
#DEBHELPER#
|