ssh
This commit is contained in:
parent
f22b370cc3
commit
44c2557a50
1 changed files with 9 additions and 8 deletions
17
spcd.sh
17
spcd.sh
|
@ -447,13 +447,6 @@ Acquire::https::Verify-Peer False;
|
||||||
#
|
#
|
||||||
spcd_split
|
spcd_split
|
||||||
spcd_echo "SPCD_CA"
|
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() {
|
spcd_list_working_directory() {
|
||||||
|
@ -606,12 +599,20 @@ spcd_install_python() {
|
||||||
|
|
||||||
# TODO move to Python
|
# TODO move to Python
|
||||||
spcd_install_packages() {
|
spcd_install_packages() {
|
||||||
|
#
|
||||||
spcd_step "Install GraphViz"
|
spcd_step "Install GraphViz"
|
||||||
spcd_install_package "graphviz"
|
spcd_install_package "graphviz"
|
||||||
|
#
|
||||||
spcd_step "Install Rsync"
|
spcd_step "Install Rsync"
|
||||||
spcd_install_package "rsync"
|
spcd_install_package "rsync"
|
||||||
|
#
|
||||||
spcd_step "Install SSH"
|
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() {
|
spcd_clean_packages_cache() {
|
||||||
|
|
Loading…
Reference in a new issue