From 2b0107035b1d2e532b10dea29f532fda0a7e994c Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 7 Sep 2024 13:13:55 +0200 Subject: [PATCH] https/path --- spcd/bootstrap.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index f7b161d..d50576d 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -1004,7 +1004,7 @@ spcd_f_pm_clean() { esac } -spcd_f_pm_https() { +spcd_f_pm_https_path() { case "${SPCD_PM}" in "${SPCD_PM_APK}") echo "/etc/apk/repositories.d/https" ;; "${SPCD_PM_APT}") echo "/etc/apt/apt.conf.d/https" ;; @@ -1260,7 +1260,7 @@ spcd_step__packages_trust_https() { spcd_step "Trust HTTPS" local path text if [ -n "${SPCD_CA_1}" ] || [ "${SPCD_PM}" = "${SPCD_PM_APT}" ]; then - path="$(spcd_f_pm_https)" + path="$(spcd_f_pm_https_path)" if [ -n "${path}" ]; then spcd_os_mkdir "$(dirname "${path}")" case "${SPCD_PM}" in @@ -1361,7 +1361,7 @@ spcd_step__ca_update_certificates() { spcd_step__packages_verify_https() { spcd_step "Verify HTTPS" local path - path="$(spcd_f_pm_https)" + path="$(spcd_f_pm_https_path)" if [ -n "${path}" ]; then spcd_os_rm "${path}" fi