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