diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 5d56ad3..a18ef69 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -785,6 +785,17 @@ spcd_clean_cache() { esac } +spcd_https_path() { + case "${SPCD_PM}" in + "${SPCD_PM_DNF}") echo "/etc/dnf/dnf.conf.d/https.conf" ;; + "${SPCD_PM_APK}") echo "/etc/apk/repositories.d/https" ;; + "${SPCD_PM_PACMAN}") echo "/etc/pacman.d/https.conf" ;; + "${SPCD_PM_APT}") echo "/etc/apt/apt.conf.d/https" ;; + "${SPCD_PM_ZYPPER}") ;; + *) ;; + esac +} + spcd_install_package() { case "${SPCD_PM}" in "${SPCD_PM_APK}") apk add "${1}" ;;