It is tricky to run a script installed by pip --user as root because sudo changes the environment. This problem would be mitigated if I could do something like:
rivalcfg --dump-udev | sudo tee /etc/udev/rules.d/99-steelseries.rules && sudo udevadm control --reload
It is tricky to run a script installed by pip --user as root because sudo changes the environment. This problem would be mitigated if I could do something like: