From ab1be3c78d9cf469cf9009de62dbe21905ce0461 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 7 Sep 2024 13:19:05 +0200 Subject: [PATCH] mv --- spcd/bootstrap.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 0808366..a729777 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -1015,6 +1015,15 @@ spcd_f_pm_https_path() { esac } +spcd_f_pm_https_verify() { + spcd_step "Verify" + local path + path="$(spcd_f_pm_https_path)" + if [ -n "${path}" ]; then + spcd_os_rm "${path}" + fi +} + spcd_f_pm_install() { case "${SPCD_PM}" in "${SPCD_PM_APK}") spcd_run apk add "${1}" ;; @@ -1358,15 +1367,6 @@ spcd_step__ca_update_certificates() { # │ s │ packages │ # ╰───┴──────────╯ -spcd_f_pm_https_verify() { - spcd_step "Verify" - local path - path="$(spcd_f_pm_https_path)" - if [ -n "${path}" ]; then - spcd_os_rm "${path}" - fi -} - spcd_step__packages_install_dos2unix() { spcd_step "Install dos2unix" spcd_f_pm_install "dos2unix"