Compare commits

..

2 commits

Author SHA1 Message Date
dac4a8b65b
plantuml,shellcheck
Some checks failed
/ job (push) Failing after 12m13s
2024-07-22 09:28:22 +02:00
dca3f14bb9
epel 2024-07-22 09:26:35 +02:00

16
spcd.sh
View file

@ -599,15 +599,18 @@ spcd_install_python() {
# TODO move to Python # TODO move to Python
spcd_install_packages() { spcd_install_packages() {
# epel
spcd_step "Install EPEL"
case "${SPCD_OS_ID}" in
"${SPCD_OS_ALMA}" | "${SPCD_OS_ROCKY}") spcd_install_package "epel-release" ;;
*) ;;
esac
# graphviz # graphviz
spcd_step "Install GraphViz" spcd_step "Install GraphViz"
spcd_install_package "graphviz" spcd_install_package "graphviz"
# plantuml # plantuml
spcd_step "Install PlantUML" spcd_step "Install PlantUML"
case "${SPCD_OS_ID}" in spcd_install_package "plantuml"
"${SPCD_OS_ALMA}" | "${SPCD_OS_ROCKY}") ;;
*) spcd_install_package "plantuml" ;;
esac
# python sphinx # python sphinx
spcd_step "Install Python Sphinx" spcd_step "Install Python Sphinx"
case "${SPCD_OS_ID}" in case "${SPCD_OS_ID}" in
@ -634,10 +637,7 @@ spcd_install_packages() {
spcd_install_package "rsync" spcd_install_package "rsync"
# shellcheck # shellcheck
spcd_step "Install ShellCheck" spcd_step "Install ShellCheck"
case "${SPCD_OS_ID}" in spcd_install_package "shellcheck"
"${SPCD_OS_ALMA}" | "${SPCD_OS_ROCKY}") ;;
*) spcd_install_package "shellcheck" ;;
esac
# shfmt # shfmt
spcd_step "Install ShellFormat" spcd_step "Install ShellFormat"
case "${SPCD_OS_ID}" in case "${SPCD_OS_ID}" in