diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index dfbf3d1..bbb67d3 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -912,6 +912,18 @@ spcd_list_working_directory() { spcd_os_ls "${spcd_lwd__path}" } +# ╭───────┬───────────╮ +# │ steps │ functions │ +# ╰───────┴───────────╯ + +spcd_install_package() { + spcd_install_package__name="${1}" + if [ -n "${spcd_install_package__name}" ]; then + ${SPCD_PM_INSTALL} "${spcd_install_package__name}" + ${SPCD_PM_CLEAN} + fi +} + # ╭───────┬─────╮ # │ steps │ pkg │ # ╰───────┴─────╯ @@ -1233,20 +1245,6 @@ ${SPCD_PYTHON_ALIAS} / ${spcd_stp__name}" #╶──────────────────────────────────────╴ -# ╭───────────╮ -# │ functions │ -# ╰───────────╯ - -spcd_install_package() { - spcd_install_package__name="${1}" - if [ -n "${spcd_install_package__name}" ]; then - ${SPCD_PM_INSTALL} "${spcd_install_package__name}" - ${SPCD_PM_CLEAN} - fi -} - -#╶──────────────────────────────────────╴ - # ╭──────╮ # │ main │ # ╰──────╯