pkg/https
This commit is contained in:
parent
088762f1ee
commit
217f1a1b73
1 changed files with 11 additions and 11 deletions
|
@ -826,17 +826,6 @@ spcd_git_url() {
|
|||
fi
|
||||
}
|
||||
|
||||
spcd_https_path() {
|
||||
case "${SPCD_PM}" in
|
||||
"${SPCD_PM_APK}") echo "/etc/apk/repositories.d/https" ;;
|
||||
"${SPCD_PM_APT}") echo "/etc/apt/apt.conf.d/https" ;;
|
||||
"${SPCD_PM_DNF}") echo "/etc/dnf/dnf.conf.d/https.conf" ;;
|
||||
"${SPCD_PM_PACMAN}") echo "/etc/pacman.d/https.conf" ;;
|
||||
"${SPCD_PM_ZYPPER}") ;;
|
||||
*) ;;
|
||||
esac
|
||||
}
|
||||
|
||||
spcd_python_ln() {
|
||||
local command="${1}"
|
||||
if [ -n "${command}" ]; then
|
||||
|
@ -1015,6 +1004,17 @@ ${name}.${_SPCD_TXT_CHARSET} ${_SPCD_TXT_CHARSET}
|
|||
# │ e │ packages │
|
||||
# ╰───┴──────────╯
|
||||
|
||||
spcd_https_path() {
|
||||
case "${SPCD_PM}" in
|
||||
"${SPCD_PM_APK}") echo "/etc/apk/repositories.d/https" ;;
|
||||
"${SPCD_PM_APT}") echo "/etc/apt/apt.conf.d/https" ;;
|
||||
"${SPCD_PM_DNF}") echo "/etc/dnf/dnf.conf.d/https.conf" ;;
|
||||
"${SPCD_PM_PACMAN}") echo "/etc/pacman.d/https.conf" ;;
|
||||
"${SPCD_PM_ZYPPER}") ;;
|
||||
*) ;;
|
||||
esac
|
||||
}
|
||||
|
||||
spcd_install_package() {
|
||||
case "${SPCD_PM}" in
|
||||
"${SPCD_PM_APK}") spcd_eval apk add "${1}" ;;
|
||||
|
|
Loading…
Reference in a new issue