summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-16 18:39:11 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-16 18:39:11 (EDT)
commit044985f6987c03811b9782d38caed62dc0c5cb48 (patch)
tree23b5b9b38f109e77d56eeaa7b8fbea5120718868
parentc89ed39fc853fbdbb2c506f10389e22ec5218d7d (diff)
profile_get_cert_path(): Change to profile_get_cert_url()
-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
}