This commit is contained in:
Marc Beninca 2024-08-26 18:18:10 +02:00
parent 9214a5f1b3
commit 0aabefd385
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -329,19 +329,6 @@ spcd_os_write() {
fi
}
# ╭───────────┬────────╮
# │ 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}"
fi
}
# ╭───────────┬───────╮
# │ functions │ split │
# ╰───────────┴───────╯
@ -810,6 +797,15 @@ spcd_install_package() {
spcd_clean_cache
}
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}"
fi
}
spcd_python_pip() {
if [ -n "${1}" ]; then
spcd_pp__name="$(basename "${1}")"