Fix sudo variable in install.sh (#1034)

It was forgotten to replace sudo at one place with the variable for sudo.
This commit is contained in:
thealhu 2023-11-07 18:59:57 +01:00 committed by GitHub
parent 6e2d0224d9
commit 1359d6cf3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -180,7 +180,7 @@ install_cuda_driver_apt() {
case $1 in case $1 in
debian) debian)
status 'Enabling contrib sources...' status 'Enabling contrib sources...'
$SUDO sed 's/main/contrib/' < /etc/apt/sources.list | sudo tee /etc/apt/sources.list.d/contrib.list > /dev/null $SUDO sed 's/main/contrib/' < /etc/apt/sources.list | $SUDO tee /etc/apt/sources.list.d/contrib.list > /dev/null
;; ;;
esac esac