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() {