This commit is contained in:
Marc Beninca 2024-08-25 23:07:15 +02:00
parent a4556cd22b
commit c062e717b7
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -302,6 +302,15 @@ spcd_os_rm() {
# │ functions │ python │ # │ functions │ python │
# ╰───────────┴────────╯ # ╰───────────┴────────╯
spcd_python_ln() {
spcd_python_ln__command="${1}"
if [ -n "${spcd_python_ln__command}" ]; then
echo "${SPCD_PYTHON_ALIAS}${spcd_python_ln__command}"
ln -f -s "${spcd_python_ln__command}" \
"/usr/bin/${SPCD_PYTHON_ALIAS}" || exit
fi
}
spcd_python_pip() { spcd_python_pip() {
if [ -n "${1}" ]; then if [ -n "${1}" ]; then
spcd_pp__name="$(basename "${1}")" spcd_pp__name="$(basename "${1}")"
@ -1199,15 +1208,6 @@ spcd_install_package() {
fi fi
} }
spcd_python_ln() {
spcd_python_ln__command="${1}"
if [ -n "${spcd_python_ln__command}" ]; then
echo "${SPCD_PYTHON_ALIAS}${spcd_python_ln__command}"
ln -f -s "${spcd_python_ln__command}" \
"/usr/bin/${SPCD_PYTHON_ALIAS}" || exit
fi
}
spcd_openssl() { spcd_openssl() {
spcd_openssl__file="${1}" spcd_openssl__file="${1}"
if [ -f "${spcd_openssl__file}" ]; then if [ -f "${spcd_openssl__file}" ]; then