Container install

When trying to install Ritchie inside a “naked” container (say, “centos”):

curl -fsSL https://commons-repo.ritchiecli.io/install.sh | bash

We get this error:

main: line 59: sudo: command not found

Perhaps the install script should avoid sudo when running as root.

Just did a PR on that.

Hi andrevtg,

As I explained on the PR (just to share it with other readers), we recently thought of a different approach, using this command to run the install script without sudo:

curl -fsSL https://commons-repo.ritchiecli.io/install.sh | sed -e 's/sudo//g' | bash

Could you try it and tell us if it resolve your issue please ? (As we plan to add it to our doc for the next stable version).

Yes, worked fine.

Thanks!