summaryrefslogtreecommitdiff
path: root/kodi/kodi-gbm.pre-install
blob: 03b2e52770106b7a2760503b127da72bcf94836d (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

addgroup -S kodi 2>/dev/null
adduser -S -D -h /var/lib/kodi -s /sbin/nologin -G kodi kodi 2>/dev/null

for group in video audio input; do
	adduser kodi $group 2>/dev/null
done

exit 0