spcd_https_path
This commit is contained in:
parent
e277ca114a
commit
0108ef7a7d
1 changed files with 11 additions and 0 deletions
|
@ -785,6 +785,17 @@ spcd_clean_cache() {
|
||||||
esac
|
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() {
|
spcd_install_package() {
|
||||||
case "${SPCD_PM}" in
|
case "${SPCD_PM}" in
|
||||||
"${SPCD_PM_APK}") apk add "${1}" ;;
|
"${SPCD_PM_APK}") apk add "${1}" ;;
|
||||||
|
|
Loading…
Reference in a new issue