mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-11 08:17:03 +00:00
set DEBIAN_FRONTEND=noninteractive correctly
This commit is contained in:
@@ -155,7 +155,7 @@ install_cuda_driver_apt() {
|
|||||||
status 'Installing CUDA driver...'
|
status 'Installing CUDA driver...'
|
||||||
$SUDO dpkg -i $TEMP_DIR/cuda-keyring.deb
|
$SUDO dpkg -i $TEMP_DIR/cuda-keyring.deb
|
||||||
$SUDO apt-get update
|
$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
|
if [ ! -f "/etc/os-release" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user