mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
distrocheck
This commit is contained in:
parent
210cd53a1c
commit
7ac49933b4
@ -661,6 +661,8 @@ function detect_ssh {
|
||||
MESSAGE="${PROGRAM} requires SSH be installed"
|
||||
echo_info
|
||||
|
||||
distro_check
|
||||
|
||||
MESSAGE="Installing SSH"
|
||||
echo_stat
|
||||
${PKG_INSTALL} ssh >/dev/null 2>&1
|
||||
@ -678,6 +680,8 @@ function detect_ssh {
|
||||
MESSAGE="${PROGRAM} requires RSYNC be installed"
|
||||
echo_info
|
||||
|
||||
distro_check
|
||||
|
||||
MESSAGE="Installing RSYNC"
|
||||
echo_stat
|
||||
${PKG_INSTALL} rsync >/dev/null 2>&1
|
||||
|
Loading…
Reference in New Issue
Block a user