revert moving blend_map to config

This commit is contained in:
parazyd 2017-03-25 23:18:45 +01:00
parent 3a1698dfd5
commit 0d2d54c391
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
2 changed files with 6 additions and 8 deletions

7
config
View File

@ -36,10 +36,3 @@ extra_packages+=(
xorriso
cryptsetup
)
## hashmap of available blends
blend_map=(
"devuan-live" "$R/blends/devuan-live/devuan-live.blend"
"heads" "$R/../heads.blend"
)

7
sdk
View File

@ -49,7 +49,7 @@ load() {
os="$1"
arch="$2"
blend="$3"
req=(os arch blend_map)
req=(os arch)
ckreq || return 1
case $arch in
@ -62,6 +62,11 @@ load() {
"devuan" "$R/lib/libdevuansdk/libdevuansdk"
)
blend_map=(
"devuan-live" "$R/blends/devuan-live/devuan-live.blend"
"heads" "$R/../heads.blend"
)
oslib="${os_map[$os]}"
blendlib="${blend_map[$blend]}"