Skip to content

Replace sudo echo in apt sources code sample with sudo tee#17

Merged
foosel merged 1 commit intoOctoPrint:mainfrom
m-bartlett:patch-1
Feb 24, 2026
Merged

Replace sudo echo in apt sources code sample with sudo tee#17
foosel merged 1 commit intoOctoPrint:mainfrom
m-bartlett:patch-1

Conversation

@m-bartlett
Copy link
Copy Markdown
Contributor

sudo echo doesn't make the file write operation privileged, but this works with passing the input to privileged tee.

@foosel foosel merged commit cd27ff0 into OctoPrint:main Feb 24, 2026
@foosel
Copy link
Copy Markdown
Member

foosel commented Feb 24, 2026

Good point, thanks!

@m-bartlett m-bartlett deleted the patch-1 branch February 24, 2026 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants