From dca3f14bb96ab266113625edb80f75eadff8344b Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 22 Jul 2024 09:26:35 +0200 Subject: [PATCH 1/2] epel --- spcd.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spcd.sh b/spcd.sh index 458202d..938fabd 100644 --- a/spcd.sh +++ b/spcd.sh @@ -599,6 +599,12 @@ spcd_install_python() { # TODO move to Python 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 spcd_step "Install GraphViz" spcd_install_package "graphviz" From dac4a8b65bf164e0d013a6d66c91fea83a155df5 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 22 Jul 2024 09:28:22 +0200 Subject: [PATCH 2/2] plantuml,shellcheck --- spcd.sh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/spcd.sh b/spcd.sh index 938fabd..c2c1812 100644 --- a/spcd.sh +++ b/spcd.sh @@ -610,10 +610,7 @@ spcd_install_packages() { 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 + spcd_install_package "plantuml" # python sphinx spcd_step "Install Python Sphinx" case "${SPCD_OS_ID}" in @@ -640,10 +637,7 @@ spcd_install_packages() { 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 + spcd_install_package "shellcheck" # shfmt spcd_step "Install ShellFormat" case "${SPCD_OS_ID}" in