steps/functions
This commit is contained in:
parent
03cde379b7
commit
a88c031ec3
1 changed files with 12 additions and 14 deletions
|
@ -912,6 +912,18 @@ spcd_list_working_directory() {
|
||||||
spcd_os_ls "${spcd_lwd__path}"
|
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 │
|
# │ 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 │
|
# │ main │
|
||||||
# ╰──────╯
|
# ╰──────╯
|
||||||
|
|
Loading…
Reference in a new issue