This commit is contained in:
Marc Beninca 2024-09-09 00:09:06 +02:00
parent ce9e4de199
commit fb95806a0b
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1007,15 +1007,6 @@ spcd_f_pm_pkg_upgrade() {
# │ f │ py = python │
# ╰───┴─────────────╯
spcd_f_py_link() {
local command="${1}"
if [ -n "${command}" ]; then
echo "${SPCD_PYTHON_ALIAS}${command}"
ln -f -s "${command}" \
"/usr/bin/${SPCD_PYTHON_ALIAS}"
fi
}
spcd_f_py_clone() {
if [ -n "${1}" ]; then
local name path target
@ -1028,6 +1019,15 @@ spcd_f_py_clone() {
fi
}
spcd_f_py_link() {
local command="${1}"
if [ -n "${command}" ]; then
echo "${SPCD_PYTHON_ALIAS}${command}"
ln -f -s "${command}" \
"/usr/bin/${SPCD_PYTHON_ALIAS}"
fi
}
# ╭───┬─────╮
# │ f │ txt │
# ╰───┴─────╯