diff --git a/template-update.sh b/template-update.sh index 45d345a..c3c50ab 100755 --- a/template-update.sh +++ b/template-update.sh @@ -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*' )