pm/https
This commit is contained in:
parent
cb250650ff
commit
dabb5814e5
1 changed files with 3 additions and 3 deletions
|
@ -1004,7 +1004,7 @@ spcd_f_pm_clean() {
|
|||
esac
|
||||
}
|
||||
|
||||
spcd_https_path() {
|
||||
spcd_f_pm_https() {
|
||||
case "${SPCD_PM}" in
|
||||
"${SPCD_PM_APK}") echo "/etc/apk/repositories.d/https" ;;
|
||||
"${SPCD_PM_APT}") echo "/etc/apt/apt.conf.d/https" ;;
|
||||
|
@ -1236,7 +1236,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_https_path)"
|
||||
path="$(spcd_f_pm_https)"
|
||||
if [ -n "${path}" ]; then
|
||||
spcd_os_mkdir "$(dirname "${path}")"
|
||||
case "${SPCD_PM}" in
|
||||
|
@ -1349,7 +1349,7 @@ spcd_step__ca_update_certificates() {
|
|||
spcd_step__packages_verify_https() {
|
||||
spcd_step "Verify HTTPS"
|
||||
local path
|
||||
path="$(spcd_https_path)"
|
||||
path="$(spcd_f_pm_https)"
|
||||
if [ -n "${path}" ]; then
|
||||
spcd_os_rm "${path}"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue