Add message when country is newly tracked
This commit is contained in:
parent
3991e48107
commit
e8e8c96388
11
cv
11
cv
@ -46,6 +46,8 @@ frame(){
|
|||||||
printf "╟────────────╫────────────╫────────────╢\n" ;;
|
printf "╟────────────╫────────────╫────────────╢\n" ;;
|
||||||
up) printf "╠════════════╦════════════╦════════════╣\n" ;;
|
up) printf "╠════════════╦════════════╦════════════╣\n" ;;
|
||||||
down) printf "╚════════════╩════════════╩════════════╝\n" ;;
|
down) printf "╚════════════╩════════════╩════════════╝\n" ;;
|
||||||
|
line) printf "╠════════════╩════════════╩════════════╣\n" ;;
|
||||||
|
bot) printf "╚══════════════════════════════════════╝\n" ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
result(){
|
result(){
|
||||||
@ -61,7 +63,14 @@ result(){
|
|||||||
out Recovered recovered
|
out Recovered recovered
|
||||||
out Tests tests
|
out Tests tests
|
||||||
out "╰> Per 1M" testsPerOneMillion
|
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
|
frame top
|
||||||
title "Queried at: $date"
|
title "Queried at: $date"
|
||||||
|
Reference in New Issue
Block a user