2 ms·
This is useful and I think it would be good if more tools had idempotency options available. Just today I needed to run a script that added a zypper repo in Ope
by mongol 7y ago
This is useful and I think it would be good if more tools had idempotency options available. Just today I needed to run a script that added a zypper repo in OpenSuse. It fails the second time because the repo is already added and there is no option to avoid it. Also the error code is not distinct so it is not easy to script around. Ideally every tool should have a mode "accomplish this result" in addition to "do this".