I don't know for sure why the instructions didn't work for me, but I do know that the > in the echo command gets processed before the sudo at the beginning of the line which is why tee is used instead. In order to get the sudo to apply to the redirect, it needs to be executed in a shell. This should also work instead of a separate sudo shell:
Following the Add PPA Repo from the main README.md:
I don't know for sure why the instructions didn't work for me, but I do know that the > in the echo command gets processed before the sudo at the beginning of the line which is why tee is used instead. In order to get the sudo to apply to the redirect, it needs to be executed in a shell. This should also work instead of a separate sudo shell:
$ echo "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/thepbone_ppa.gpg] https://thepbone.github.io/PPA-Repository ./" | sudo tee /etc/apt/sources.list.d/thepbone_ppa.list