diff --git a/spcd.sh b/spcd.sh index d4d3c33..a7f6aeb 100644 --- a/spcd.sh +++ b/spcd.sh @@ -447,13 +447,6 @@ Acquire::https::Verify-Peer False; # spcd_split spcd_echo "SPCD_CA" - # TODO move to Python - case "${SPCD_PM}" in - "${SPCD_PM_APK}" | "${SPCD_PM_APT}") SPCD_PKG_SSH="openssh-client" ;; - "${SPCD_PM_DNF}") SPCD_PKG_SSH="openssh-clients" ;; - "${SPCD_PM_PACMAN}") SPCD_PKG_SSH="openssh" ;; - *) ;; - esac } spcd_list_working_directory() { @@ -606,12 +599,20 @@ spcd_install_python() { # TODO move to Python spcd_install_packages() { + # spcd_step "Install GraphViz" spcd_install_package "graphviz" + # spcd_step "Install Rsync" spcd_install_package "rsync" + # spcd_step "Install SSH" - spcd_install_package "${SPCD_PKG_SSH}" + case "${SPCD_PM}" in + "${SPCD_PM_APK}" | "${SPCD_PM_APT}") spcd_install_package "openssh-client" ;; + "${SPCD_PM_DNF}") spcd_install_package "openssh-clients" ;; + "${SPCD_PM_PACMAN}") spcd_install_package "openssh" ;; + *) ;; + esac } spcd_clean_packages_cache() {