Open IndianBoy42 opened 5 months ago
As an example I want my install scripts to use nala if available and fall back to apt-get if not.
nala
apt-get
This seems reasonable. I think the only question is how to do it in a cross-platform way without relying on any particular shell.
Looks like crates exist for this: https://crates.io/crates/which
As an example I want my install scripts to use
nala
if available and fall back toapt-get
if not.