diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 509dd58..391d760 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -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}")"