Tighten up verbage

This commit is contained in:
Michael Stanclift 2020-05-30 22:16:42 -05:00
parent 01ff343fba
commit e1a7b9329c
2 changed files with 9 additions and 6 deletions

View File

@ -13,6 +13,9 @@
#### 1.7.4
- (**Featureish**) `./gravity-sync.sh dev` will now toggle dev flag on/off. No `touch` required, although it still works that way under the covers. Improvement of methods added in 1.7.2.
- Slightly less verbose in some places to make up for being more verbose in others.
- [DONE] has become [ OK ] in output.
- Tighten up verbage of some status messages.
- Detects absence of ssh client command on host OS (DietPi)
- Detects absence of rsync client command on host OS (DietPi)
- Detects absence of ssh-keygen on host OS and will use dropbearkey as an alternative (DietPi)

View File

@ -658,12 +658,12 @@ function detect_ssh {
echo_good
else
echo_fail
MESSAGE="${PROGRAM} requires SSH be installed"
MESSAGE="Attempting to Compensate"
echo_info
distro_check
MESSAGE="Installing SSH"
MESSAGE="Installing SSH on $HOSTNAME"
echo_stat
${PKG_INSTALL} ssh >/dev/null 2>&1
error_validate
@ -677,12 +677,12 @@ function detect_ssh {
echo_good
else
echo_fail
MESSAGE="${PROGRAM} requires RSYNC be installed"
MESSAGE="RSYNC is Required"
echo_info
distro_check
MESSAGE="Installing RSYNC"
MESSAGE="Attempting to Compensate"
echo_stat
${PKG_INSTALL} rsync >/dev/null 2>&1
error_validate
@ -955,7 +955,7 @@ function config_delete {
# Exit Codes
## No Changes Made
function exit_nochange {
MESSAGE="${PROGRAM} ${TASKTYPE} Aborting"
MESSAGE="${BOLD}${PROGRAM}${NC} ${TASKTYPE} Aborting"
echo_info
exit 0
}
@ -963,7 +963,7 @@ function exit_nochange {
## Changes Made
function exit_withchange {
SCRIPT_END=$SECONDS
MESSAGE="${PROGRAM} ${TASKTYPE} Completed in $((SCRIPT_END-SCRIPT_START)) seconds"
MESSAGE="${BOLD}${PROGRAM}${NC} ${TASKTYPE} Completed in $((SCRIPT_END-SCRIPT_START)) seconds"
echo_info
exit 0
}