Skip to content

Commit cd27ff0

Browse files
authored
use sudo tee in example (#17)
1 parent 37eb9a4 commit cd27ff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ <h3>RaspberryPi OS/OctoPi</h3>
1717

1818
<code>
1919
curl -s --compressed "https://apt.octoprint.org/octoprint.gpg.key" | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/octoprint.gpg > /dev/null<br>
20-
sudo echo "deb https://apt.octoprint.org/debian $(lsb_release -cs) rpi" > /etc/apt/sources.list.d/octoprint.list<br>
20+
echo "deb https://apt.octoprint.org/debian $(lsb_release -cs) rpi" | sudo tee /etc/apt/sources.list.d/octoprint.list<br>
2121
sudo apt update<br>
2222
</code>
2323

0 commit comments

Comments
 (0)