diff --git a/Pmodules/modbuild.in b/Pmodules/modbuild.in index e5e0268..56c324d 100755 --- a/Pmodules/modbuild.in +++ b/Pmodules/modbuild.in @@ -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}" \