base-files: add compatibility for APK and OPKG
authorPaul Spooren <mail@aparcar.org>
Fri, 3 May 2024 16:24:17 +0000 (18:24 +0200)
committerPaul Spooren <mail@aparcar.org>
Fri, 17 May 2024 20:21:26 +0000 (23:21 +0300)
commitbcc641504d401336336ae1ada8a9935ff05c6055
tree15333ef98cb6dbb53089579b4774b1d5f7b28e11
parent3010ab87bc5eb4278a8d550c7ad576836fbbbdf9
base-files: add compatibility for APK and OPKG

Both package managers work slightly different, i.e. stores files at
different places. Modify the `functions.sh` file to cover those.

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