From fb95806a0b3405bd4d7c4a03e569f680a5d51741 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 9 Sep 2024 00:09:06 +0200 Subject: [PATCH] mv --- spcd/bootstrap.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 2f7c5b0..34ef921 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -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 │ # ╰───┴─────╯