From 9da6e493d827cc5750c16d4967f543fbb94c3b72 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 21 Jul 2024 22:26:02 +0200 Subject: [PATCH] shfmt --- spcd.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spcd.sh b/spcd.sh index 872f7ed..a5ebb99 100644 --- a/spcd.sh +++ b/spcd.sh @@ -617,6 +617,12 @@ spcd_install_packages() { "${SPCD_OS_ALMA}" | "${SPCD_OS_ROCKY}") ;; *) spcd_install_package "shellcheck" ;; esac + # shfmt + spcd_step "Install ShellFormat" + case "${SPCD_OS_ID}" in + "${SPCD_OS_ALMA}" | "${SPCD_OS_ROCKY}") ;; + *) spcd_install_package "shfmt" ;; + esac # ssh spcd_step "Install SSH" case "${SPCD_PM}" in