config/functions: add get_pkg_sha256

- returns the PKG_SHA256 of a given package file
This commit is contained in:
SupervisedThinking 2022-11-18 15:34:26 +01:00
parent 1e5c36c0b5
commit 8e84db508b

View File

@ -1003,6 +1003,10 @@ get_pkg_version() {
get_pkg_variable "$1" PKG_VERSION
}
get_pkg_sha256() {
get_pkg_variable "$1" PKG_SHA256
}
get_pkg_version_maj_min() {
local pkg_version