This commit is contained in:
Marc Beninca 2024-08-31 09:29:48 +02:00
parent 88f3f036b0
commit 014d10bf98
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -819,10 +819,10 @@ spcd_install_package() {
}
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}" \
local command="${1}"
if [ -n "${command}" ]; then
echo "${SPCD_PYTHON_ALIAS}${command}"
ln -f -s "${command}" \
"/usr/bin/${SPCD_PYTHON_ALIAS}"
fi
}