Browse Source

set `DEBIAN_FRONTEND=noninteractive` correctly

Jeffrey Morgan 1 năm trước cách đây
mục cha
commit
413a2e4f91
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      scripts/install.sh

+ 1 - 1
scripts/install.sh

@@ -155,7 +155,7 @@ install_cuda_driver_apt() {
     status 'Installing CUDA driver...'
     $SUDO dpkg -i $TEMP_DIR/cuda-keyring.deb
     $SUDO apt-get update
-    DEBIAN_FRONTEND=noninteractive $SUDO apt-get -y install cuda-drivers -q
+    $SUDO DEBIAN_FRONTEND=noninteractive apt-get -y install cuda-drivers -q
 }
 
 if [ ! -f "/etc/os-release" ]; then