How to add a link group to update-alternatives?
- by Kurtosis
Is it possible to add a custom link group to update-alternatives that is not already there by default?
For example, I want to add Scala and all its supporting binaries as a link group 'scala'. I'm trying using this script, but keep getting the error:
update-alternatives: error: unknown argument `'
I'm not sure what that means, but after troubleshooting the script a bit with no luck, I'm wondering if update-alternatives has a hard-coded list of link groups, that can't be added to, and that doesn't include scala.
PS - any chance someone with higher karma can create an update-alternatives tag? Seems this topic gets a decent number of questions, but no tag for it.