Browse Source

Update unmanic-install.sh

tweak
tteckster 1 year ago
parent
commit
a690992d63
1 changed files with 4 additions and 4 deletions
  1. 4 4
      install/unmanic-install.sh

+ 4 - 4
install/unmanic-install.sh

@@ -27,10 +27,10 @@ if [[ "$CTTYPE" == "0" ]]; then
     va-driver-all \
     va-driver-all \
     ocl-icd-libopencl1 \
     ocl-icd-libopencl1 \
     intel-opencl-icd
     intel-opencl-icd
-    
-  /bin/chgrp video /dev/dri
-  /bin/chmod 755 /dev/dri
-  /bin/chmod 660 /dev/dri/*
+  mkdir /dev/dri >/dev/null 2>&1  
+  chgrp video /dev/dri
+  chmod 755 /dev/dri
+  chmod 660 /dev/dri/*
   msg_ok "Set Up Hardware Acceleration"
   msg_ok "Set Up Hardware Acceleration"
 fi
 fi