Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

fix dkms on debian

Michael Yangd0854bf1e663
diff --git a/scripts/install.sh b/scripts/install.sh
index 4cf5fd6df..c8ac0af9e 100644
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -204,7 +204,7 @@ if ! lsmod | grep -q nvidia; then
debian|ubuntu) $SUDO apt-get -y install linux-headers-$KERNEL_RELEASE ;;
esac
- NVIDIA_CUDA_VERSION=$(dkms status | awk -F: '/added/ { print $1 }')
+ NVIDIA_CUDA_VERSION=$($SUDO dkms status | awk -F: '/added/ { print $1 }')
if [ -n "$NVIDIA_CUDA_VERSION" ]; then
$SUDO dkms install $NVIDIA_CUDA_VERSION
fi