summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/profile.sh6
-rw-r--r--src/profile/proteanos.sh6
2 files changed, 8 insertions, 4 deletions
diff --git a/src/profile.sh b/src/profile.sh
index adf3c86..5cfe5c4 100644
--- a/src/profile.sh
+++ b/src/profile.sh
@@ -111,9 +111,11 @@ profile_feeds()
"prof_${profile}_feeds" "${mirror}" "${arch}" "${plat}" "${suite}"
}
-profile_get_cert_path()
+profile_get_cert_url()
{
- "prof_${profile}_get_cert_path"
+ local mirror="${1}"
+
+ "prof_${profile}_get_cert_url" "${mirror}"
}
profile_get_root_key()
diff --git a/src/profile/proteanos.sh b/src/profile/proteanos.sh
index 9f7b620..321f8cc 100644
--- a/src/profile/proteanos.sh
+++ b/src/profile/proteanos.sh
@@ -158,9 +158,11 @@ prof_proteanos_feeds()
done
}
-prof_proteanos_get_cert_path()
+prof_proteanos_get_cert_url()
{
- printf 'archive.cert'
+ local mirror="${1}"
+
+ printf '%s/archive.cert' "${mirror}"
return 0
}