From a4556cd22bb37266043bc49cc2c86988f7e0c0ee Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 25 Aug 2024 23:06:37 +0200 Subject: [PATCH] spcd_python_ln --- spcd/main.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 }