Skip to content

Commit

Permalink
Fix sudo variable in install.sh (#1034)
Browse files Browse the repository at this point in the history
It was forgotten to replace sudo at one place with the variable for sudo.
  • Loading branch information
upchui committed Nov 7, 2023
1 parent 6e2d022 commit 1359d6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1359d6c

Please sign in to comment.