From 01fd83badf61af70128707b3f2d46f5271d944be Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 22 Jul 2024 09:56:08 +0200 Subject: [PATCH] ShellCheck --- spcd.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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