mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-07-12 18:19:42 -07:00
config/functions: add get_pkg_sha256
- returns the PKG_SHA256 of a given package file
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user