diff --git a/spcd.sh b/spcd.sh index 48d4811..854bae7 100644 --- a/spcd.sh +++ b/spcd.sh @@ -768,7 +768,9 @@ spcd_install_packages() { # shell check spcd_step "Install ShellCheck" case "${SPCD_PM}" in - "${SPCD_PM_DNF}") spcd_install_package "ShellCheck" ;; + "${SPCD_PM_DNF}" | "${SPCD_PM_ZYPPER}") + spcd_install_package "ShellCheck" + ;; *) spcd_install_package "shellcheck" ;; esac # shfmt @@ -786,7 +788,9 @@ spcd_install_packages() { "${SPCD_PM_APK}" | "${SPCD_PM_APT}") spcd_install_package "openssh-client" ;; - "${SPCD_PM_DNF}") spcd_install_package "openssh-clients" ;; + "${SPCD_PM_DNF}" | "${SPCD_PM_ZYPPER}") + spcd_install_package "openssh-clients" + ;; "${SPCD_PM_PACMAN}") spcd_install_package "openssh" ;; *) ;; esac