summaryrefslogtreecommitdiff
path: root/kodi/kodi-gbm.pre-install
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-02-04 23:56:44 +0100
committerKarel Kočí <cynerd@email.cz>2020-02-04 23:56:44 +0100
commitfda42396b11d15726b9264f9bfdd6f68c439f5ff (patch)
tree66149f03b80f07074844b506cdfb37f4d2a3bd7e /kodi/kodi-gbm.pre-install
parentdfcb10fdfdd7f18be775c142fe70b6d06e124d3a (diff)
downloadalpine-personal-pkgs-fda42396b11d15726b9264f9bfdd6f68c439f5ff.tar.gz
alpine-personal-pkgs-fda42396b11d15726b9264f9bfdd6f68c439f5ff.tar.bz2
alpine-personal-pkgs-fda42396b11d15726b9264f9bfdd6f68c439f5ff.zip
kodi: add and try to add raspberry pi build
Diffstat (limited to 'kodi/kodi-gbm.pre-install')
-rw-r--r--kodi/kodi-gbm.pre-install10
1 files changed, 10 insertions, 0 deletions
diff --git a/kodi/kodi-gbm.pre-install b/kodi/kodi-gbm.pre-install
new file mode 100644
index 0000000..03b2e52
--- /dev/null
+++ b/kodi/kodi-gbm.pre-install
@@ -0,0 +1,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