diff --git a/spcd/main.sh b/spcd/main.sh index d3ae924..3063265 100644 --- a/spcd/main.sh +++ b/spcd/main.sh @@ -1044,7 +1044,7 @@ spcd_install_python() { spcd_step_in "Install Python" spcd_install_package "${SPCD_PYTHON_PACKAGE}" spcd_step "Link alias to command" - spcd_ln_python "${SPCD_PYTHON_COMMAND}" + spcd_python_ln "${SPCD_PYTHON_COMMAND}" # venv spcd_step_in "Virtual environment" spcd_step "Install package" @@ -1199,11 +1199,11 @@ spcd_install_package() { fi } -spcd_ln_python() { - spcd_ln_python__command="${1}" - if [ -n "${spcd_ln_python__command}" ]; then - echo "→ ${SPCD_PYTHON_ALIAS} → ${spcd_ln_python__command}" - ln -f -s "${spcd_ln_python__command}" \ +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 }