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:
parent
6e2d0224d9
commit
1359d6cf3b
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ install_cuda_driver_apt() {
|
|||
case $1 in
|
||||
debian)
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue