Closed nickthecook closed 4 years ago
By default, use sudo for apt dependencies.
sudo
apt
We don't want people to have to use sudo to run ops, or to get into the habit of it. Only the apt dependencies need root privileges, so only the apt commands should be run with them.
ops
DO NOT use sudo if:
$(whoami) == root
options.apt.sudo == false
Fixed in 0.3.0.
By default, use
sudo
forapt
dependencies.We don't want people to have to use
sudo
to runops
, or to get into the habit of it. Only theapt
dependencies need root privileges, so only theapt
commands should be run with them.DO NOT use
sudo
if:$(whoami) == root
ORoptions.apt.sudo == false