Add message when country is newly tracked

This commit is contained in:
Michael De Roover 2020-07-14 23:36:53 +02:00
parent 3991e48107
commit e8e8c96388
Signed by: vim
GPG Key ID: 075496E232CE04CB
1 changed files with 10 additions and 1 deletions

11
cv
View File

@ -46,6 +46,8 @@ frame(){
printf "╟────────────╫────────────╫────────────╢\n" ;;
up) printf "╠════════════╦════════════╦════════════╣\n" ;;
down) printf "╚════════════╩════════════╩════════════╝\n" ;;
line) printf "╠════════════╩════════════╩════════════╣\n" ;;
bot) printf "╚══════════════════════════════════════╝\n" ;;
esac
}
result(){
@ -61,7 +63,14 @@ result(){
out Recovered recovered
out Tests tests
out "╰> Per 1M" testsPerOneMillion
frame down
if [ ! -f $data/$ydate-$country ]
then
frame line
title "Stats for $country appear to be new."
frame bot
else
frame down
fi
}
frame top
title "Queried at: $date"