diff --git a/spcd.sh b/spcd.sh index c2c1812..5975381 100644 --- a/spcd.sh +++ b/spcd.sh @@ -637,7 +637,10 @@ spcd_install_packages() { spcd_install_package "rsync" # shellcheck spcd_step "Install ShellCheck" - spcd_install_package "shellcheck" + case "${SPCD_PM}" in + "${SPCD_PM_DNF}") spcd_install_package "ShellCheck" ;; + *) spcd_install_package "shellcheck" ;; + esac # shfmt spcd_step "Install ShellFormat" case "${SPCD_OS_ID}" in