mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Attempt to install ssh-client if not found
This commit is contained in:
parent
0928a7a0be
commit
62fc232205
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user