This commit is contained in:
Marc Beninca 2024-09-07 13:19:05 +02:00
parent a6e39413e4
commit ab1be3c78d
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -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"