Commit 185afe29 authored by Bastien Durel's avatar Bastien Durel
Browse files

do not check date if covid.csv is missing

parent 45addd0b
#!/bin/bash #!/bin/bash
date=$(stat -c %y covid.csv) if [ -r covid.csv ]; then
date=$(stat -c %y covid.csv)
wget -O covid.csv -cq wget -O covid.csv -cq
date_new=$(stat -c %y covid.csv) date_new=$(stat -c %y covid.csv)
if [ "$date" != "$date_new" -o ! -r covid_corrected.csv ]; then if [ "$date" != "$date_new" -o ! -r covid_corrected.csv ]; then
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment