shellcheck
This commit is contained in:
parent
537f6c6cf9
commit
909dc010e0
1 changed files with 10 additions and 4 deletions
14
spcd.sh
14
spcd.sh
|
@ -599,19 +599,25 @@ spcd_install_python() {
|
||||||
|
|
||||||
# TODO move to Python
|
# TODO move to Python
|
||||||
spcd_install_packages() {
|
spcd_install_packages() {
|
||||||
#
|
# graphviz
|
||||||
spcd_step "Install GraphViz"
|
spcd_step "Install GraphViz"
|
||||||
spcd_install_package "graphviz"
|
spcd_install_package "graphviz"
|
||||||
#
|
# plantuml
|
||||||
spcd_step "Install PlantUML"
|
spcd_step "Install PlantUML"
|
||||||
case "${SPCD_OS_ID}" in
|
case "${SPCD_OS_ID}" in
|
||||||
"${SPCD_OS_ALMA}" | "${SPCD_OS_ROCKY}") ;;
|
"${SPCD_OS_ALMA}" | "${SPCD_OS_ROCKY}") ;;
|
||||||
*) spcd_install_package "plantuml" ;;
|
*) spcd_install_package "plantuml" ;;
|
||||||
esac
|
esac
|
||||||
#
|
# rsync
|
||||||
spcd_step "Install Rsync"
|
spcd_step "Install Rsync"
|
||||||
spcd_install_package "rsync"
|
spcd_install_package "rsync"
|
||||||
#
|
# shellcheck
|
||||||
|
spcd_step "Install ShellCheck"
|
||||||
|
case "${SPCD_OS_ID}" in
|
||||||
|
"${SPCD_OS_ALMA}" | "${SPCD_OS_ROCKY}") ;;
|
||||||
|
*) spcd_install_package "shellcheck" ;;
|
||||||
|
esac
|
||||||
|
# ssh
|
||||||
spcd_step "Install SSH"
|
spcd_step "Install SSH"
|
||||||
case "${SPCD_PM}" in
|
case "${SPCD_PM}" in
|
||||||
"${SPCD_PM_APK}" | "${SPCD_PM_APT}") spcd_install_package "openssh-client" ;;
|
"${SPCD_PM_APK}" | "${SPCD_PM_APT}") spcd_install_package "openssh-client" ;;
|
||||||
|
|
Loading…
Reference in a new issue