From af7d1f4a476d320d5d0f859cbe69b2903a1ad832 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 20 Aug 2024 15:44:30 +0200 Subject: [PATCH] opensuse/shellcheck,ssh --- spcd.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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