mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-29 18:59:39 +02:00
build-system: fixes for unpacking with 7z
This commit is contained 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}" \
|
||||
|
||||
Reference in New Issue
Block a user