From 580b0f1d48dcd1b029859ff7c7cad8bc775ed452 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 21 Aug 2024 11:53:09 +0200 Subject: [PATCH] mv/openssh --- spcd.sh | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/spcd.sh b/spcd.sh index abb3bc2..9301941 100644 --- a/spcd.sh +++ b/spcd.sh @@ -760,6 +760,18 @@ spcd_install_packages() { # graphviz spcd_substep "Install GraphViz" spcd_install_package "graphviz" + # openssh + spcd_substep "Install OpenSSH" + case "${SPCD_PM}" in + "${SPCD_PM_APK}" | "${SPCD_PM_APT}") + spcd_install_package "openssh-client" + ;; + "${SPCD_PM_DNF}" | "${SPCD_PM_ZYPPER}") + spcd_install_package "openssh-clients" + ;; + "${SPCD_PM_PACMAN}") spcd_install_package "openssh" ;; + *) ;; + esac # plantuml spcd_substep "Install PlantUML" spcd_install_package "plantuml" @@ -783,18 +795,6 @@ spcd_install_packages() { ;; *) spcd_install_package "shfmt" ;; esac - # openssh - spcd_substep "Install OpenSSH" - case "${SPCD_PM}" in - "${SPCD_PM_APK}" | "${SPCD_PM_APT}") - spcd_install_package "openssh-client" - ;; - "${SPCD_PM_DNF}" | "${SPCD_PM_ZYPPER}") - spcd_install_package "openssh-clients" - ;; - "${SPCD_PM_PACMAN}") spcd_install_package "openssh" ;; - *) ;; - esac } spcd_write_python_module() {