From 909dc010e01e3030c6866679efc4a76ebc0e5f1a Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 21 Jul 2024 22:21:23 +0200 Subject: [PATCH] shellcheck --- spcd.sh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/spcd.sh b/spcd.sh index f10a213..872f7ed 100644 --- a/spcd.sh +++ b/spcd.sh @@ -599,19 +599,25 @@ spcd_install_python() { # TODO move to Python spcd_install_packages() { - # + # graphviz spcd_step "Install GraphViz" spcd_install_package "graphviz" - # + # plantuml spcd_step "Install PlantUML" case "${SPCD_OS_ID}" in "${SPCD_OS_ALMA}" | "${SPCD_OS_ROCKY}") ;; *) spcd_install_package "plantuml" ;; esac - # + # rsync spcd_step "Install 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" case "${SPCD_PM}" in "${SPCD_PM_APK}" | "${SPCD_PM_APT}") spcd_install_package "openssh-client" ;;