Skip to content

Commit

Permalink
docker: fixup /dev/dri enabling
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Jan 25, 2024
1 parent d912266 commit 604798e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/docker/install-scrypted-docker-compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ echo "Created $DOCKER_COMPOSE_YML"
curl -s https://raw.githubusercontent.com/koush/scrypted/main/install/docker/docker-compose.yml | sed s/SET_THIS_TO_SOME_RANDOM_TEXT/"$(echo $RANDOM | md5sum | head -c 32)"/g > $DOCKER_COMPOSE_YML
if [ -d /dev/dri ]
then
sed -i 's/'#' - \/dev\/dri/- \/dev\/dri/g' $DOCKER_COMPOSE_YML
sed -i 's/'#' "\/dev\/dri/"\/dev\/dri/g' $DOCKER_COMPOSE_YML
fi

echo "Setting permissions on $SCRYPTED_HOME"
Expand Down

0 comments on commit 604798e

Please sign in to comment.