summaryrefslogtreecommitdiffstats
path: root/src/profile
diff options
context:
space:
mode:
Diffstat (limited to 'src/profile')
-rw-r--r--src/profile/proteanos.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/profile/proteanos.sh b/src/profile/proteanos.sh
index f322adf..f44de08 100644
--- a/src/profile/proteanos.sh
+++ b/src/profile/proteanos.sh
@@ -70,6 +70,9 @@ _prof_proteanos_platforms_paragraph()
platform="${_prof_proteanos_platforms_platform}"
archplat="$(printf '%s' "${platform}" | tr -c '[a-z0-9/]' '_')"
+ eval "_prof_proteanos_archplat_arches_${archplat#*/}=$(: \
+ )\"\${_prof_proteanos_archplat_arches_${archplat#*/}-}$(: \
+ )\${platform%/*}\""
archplat="${archplat%/*}__${archplat#*/}"
_prof_proteanos_platforms="${_prof_proteanos_platforms}${platform} "
@@ -133,6 +136,14 @@ prof_proteanos_default_plat()
printf 'dev\n'
}
+prof_proteanos_plat_arches()
+{
+ local plat="${1}"
+ shift 1
+
+ eval "printf '%s\\n' \${_prof_proteanos_archplat_arches_${plat}}"
+}
+
prof_proteanos_select_mirror()
{
local mirrors=