immich: guard /dev/dri permissions so CPU-only installs don’t fail (#8094)
This commit is contained in:
parent
d1786241ec
commit
2c791b9e41
|
|
@ -81,7 +81,7 @@ $STD apt-get update
|
||||||
$STD apt-get install -y jellyfin-ffmpeg7
|
$STD apt-get install -y jellyfin-ffmpeg7
|
||||||
ln -s /usr/lib/jellyfin-ffmpeg/ffmpeg /usr/bin/ffmpeg
|
ln -s /usr/lib/jellyfin-ffmpeg/ffmpeg /usr/bin/ffmpeg
|
||||||
ln -s /usr/lib/jellyfin-ffmpeg/ffprobe /usr/bin/ffprobe
|
ln -s /usr/lib/jellyfin-ffmpeg/ffprobe /usr/bin/ffprobe
|
||||||
if [[ "$CTTYPE" == "0" ]]; then
|
if [[ "$CTTYPE" == "0" && -d /dev/dri ]]; then
|
||||||
chgrp video /dev/dri
|
chgrp video /dev/dri
|
||||||
chmod 755 /dev/dri
|
chmod 755 /dev/dri
|
||||||
chmod 660 /dev/dri/*
|
chmod 660 /dev/dri/*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user