base-files: add update_alternatives function
authorPaul Spooren <mail@aparcar.org>
Fri, 3 May 2024 15:53:52 +0000 (17:53 +0200)
committerPaul Spooren <mail@aparcar.org>
Fri, 17 May 2024 20:21:26 +0000 (23:21 +0300)
commit3010ab87bc5eb4278a8d550c7ad576836fbbbdf9
treeceff357d41451f0e045d879b4d589667345e42a4
parentd788ab376f859164df84e2054cbbbb0921943c5b
base-files: add update_alternatives function

The APK package manager does not support handling of package
alternatives itself, so implement it via a simple shell script.

Signed-off-by: Paul Spooren <mail@aparcar.org>
package/base-files/files/lib/functions.sh