Sfoglia il codice sorgente

Update emby-v5-install.sh

install beignet-opencl-icd only on 20.04
tteckster 2 anni fa
parent
commit
220c436e57
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      install/emby-v5-install.sh

+ 2 - 2
install/emby-v5-install.sh

@@ -90,8 +90,8 @@ if [[ -z "$(grep -w "100000" /proc/self/uid_map)" ]]; then
   msg_info "Setting Up Hardware Acceleration"
   $STD apt-get -y install \
     va-driver-all \
-    ocl-icd-libopencl1 \
-    beignet-opencl-icd
+    ocl-icd-libopencl1
+  if [[ ${PCT_OSVERSION} == "20.04" ]]; then $STD apt-get -y install beignet-opencl-icd; fi
 
   /bin/chgrp video /dev/dri
   /bin/chmod 755 /dev/dri