shellcheck

This commit is contained in:
Marc Beninca 2024-07-21 22:21:23 +02:00
parent 537f6c6cf9
commit 909dc010e0
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

14
spcd.sh
View file

@ -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" ;;