clean-up output spacing for readability

This commit is contained in:
Asif Bacchus 2020-03-13 02:44:00 -06:00
parent e6a4659b51
commit 50a1f35c37
2 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ printf "Checking for updates to this script... "
repoScriptChecksum=$( grep "$repoScriptName" "$checksumFilename" | grep -o '^\S*' )
localScriptChecksum=$( sha256sum "$localScriptName" | grep -o '^\S*' )
if [ "$localScriptChecksum" = "$repoScriptChecksum" ]; then
printf "[NONE]\n\n"
printf "[NONE]\n"
else
# download updated script
if ! wget --quiet --tries=3 --timeout=10 -O $localScriptName "${server}${repoScriptName}"; then
@ -78,7 +78,7 @@ set -- dummy $updateFiles
shift
for file; do
updateTarget="$file"
printf "Checking '%s' for updates... " "$updateTarget"
printf "\nChecking '%s' for updates... " "$updateTarget"
repoFile=$( grep "$updateTarget" "$checksumFilename" | grep -o '^\S*' )
if [ -f "$file" ]; then
localFile=$( sha256sum "$updateTarget" | grep -o '^\S*' )

View File

@ -3,4 +3,4 @@
14b11370f980bd10b3cd96ddf3acab73c723f7594127e38d4b90ad09660b5e0a ab-openldap-backup.sh
5257cbc175e1f35061e419f54c953875597996d887b3c882990319ecc2371bfd ab-openldap.params.template
79d96713f2e0a1e9d8c4192077986fc8e6efe805441595d014931ec56163c3c9 ab-openldap.sh
fb6fd8671c3bc5c2d21271ff2c7acfeb9740caea9be3ee663c750f9aa5535b72 ab-openldap-update.sh
d37c4c1083ba72775955b151fe9a16a6c5d1cd7f63e52852bdb7b3fc1902db62 ab-openldap-update.sh