build-system: fixes for unpacking with 7z

This commit is contained in:
2024-07-15 18:49:26 +02:00
parent dafba8fc0a
commit e52d5bbf1b
+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}" \