From 044985f6987c03811b9782d38caed62dc0c5cb48 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 16 Apr 2019 18:39:11 -0400 Subject: profile_get_cert_path(): Change to profile_get_cert_url() --- (limited to 'src') 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 } -- cgit v0.9.1