Attempt to install ssh-client if not found

This commit is contained in:
Michael Stanclift 2020-06-01 10:13:01 -05:00
parent 0928a7a0be
commit 62fc232205

View File

@ -668,9 +668,10 @@ function detect_ssh {
MESSAGE="Using Dropbear Instead" MESSAGE="Using Dropbear Instead"
echo_info echo_info
else else
MESSAGE="No Alternative Detected" MESSAGE="Installing SSH Client with ${PKG_MANAGER}"
echo_info echo_stat
exit_nochange ${PKG_INSTALL} ssh-client >/dev/null 2>&1
error_validate
fi fi
fi fi
@ -688,6 +689,9 @@ function detect_ssh {
distro_check distro_check
MESSAGE="Attempting to Compensate" MESSAGE="Attempting to Compensate"
echo_info
MESSAGE="Installing RSYNC with ${PKG_MANAGER}"
echo_stat echo_stat
${PKG_INSTALL} rsync >/dev/null 2>&1 ${PKG_INSTALL} rsync >/dev/null 2>&1
error_validate error_validate