Skip to content

Commit ead9c0c

Browse files
committed
missed perms for dvb adapters
1 parent 32218d5 commit ead9c0c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build/root/install.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ cat <<EOF > /tmp/permissions_heredoc
7474
chown -R "\${PUID}":"\${PGID}" ${install_paths}
7575
chmod -R 775 ${install_paths}
7676
77+
# if dvb adapter(s) passed through then set permissions
78+
if [[ -d /dev/dvb ]]; then
79+
chown -R "${PUID}":"${PGID}" /dev/dvb
80+
chmod -R 775 /dev/dvb
81+
fi
82+
7783
EOF
7884

7985
# replace permissions placeholder string with contents of file (here doc)

0 commit comments

Comments
 (0)