Merge branch '289-build-system-add-support-for-unpacking-with-7z' into 'master'

Resolve "build-system: add support for unpacking with 7z"

Closes #289

See merge request Pmodules/src!267
This commit is contained in:
2024-07-15 18:52:18 +02:00
+5 -2
View File
@@ -725,6 +725,11 @@ declare -A Yaml_default_config=(
declare -A Yaml_valid_vk_keys=(
['config']=1 # !!map
['variants']=1 # !!map
declare -A Unpackers=(
['tar']='tar'
['7z']='7z'
)
)
declare -A hierarchical_groups=()
@@ -1230,7 +1235,6 @@ build_modules_yaml_v1(){
std::die 3 "Key '$3' missing in $2\n----\n$1\n----"
}
local -A Unpackers=([tar]="tar" [7z]="7z")
set_urls() {
local -- yaml="$1"
local -i l=0
@@ -1274,7 +1278,6 @@ build_modules_yaml_v1(){
"${value}"
unpacker="${value}"
;;
;;
* )
die_invalid_key \
"${url_yaml}" \