From 0e821fea155ad2d3419090b61a6c072db9d5d882 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 5 Apr 2018 18:33:58 -0500 Subject: system/vlc: new package Alpine will never merge Pulse support in, so why bother --- system/vlc/vlc-daemon.pre-install | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 system/vlc/vlc-daemon.pre-install (limited to 'system/vlc/vlc-daemon.pre-install') diff --git a/system/vlc/vlc-daemon.pre-install b/system/vlc/vlc-daemon.pre-install new file mode 100644 index 000000000..aed6c1893 --- /dev/null +++ b/system/vlc/vlc-daemon.pre-install @@ -0,0 +1,15 @@ +#!/bin/sh + +groups="vlc audio video" + +for group in $groups; do + addgroup -S $group 2>/dev/null +done +adduser -S -D -h /home/vlc -s /bin/sh -G vlc -g vlc vlc 2>/dev/null + +# make sure vlc are in all groups +for group in $groups; do + addgroup vlc $group 2>/dev/null +done + +exit 0 -- cgit v1.2.3-70-g09d2