home · contact · privacy
Fix faulty path.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 30 Jun 2020 21:32:24 +0000 (23:32 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 30 Jun 2020 21:32:24 +0000 (23:32 +0200)
update.sh

index a136185f923650da76b19cef6a7fd4f1b8d8d122..1a84c8ba9fa70208f7c7693d151b52c03be487ca 100755 (executable)
--- a/update.sh
+++ b/update.sh
@@ -5,7 +5,7 @@ today="$(date +%Y-%m-%d)"
 curl https://www.berlin.de/lageso/_assets/gesundheit/publikationen/corona/bezirkstabelle.csv \
 | awk 'BEGIN { FS=";"; ORS=""; print "'${today}'" }; '\
 '!/^Bezirk/ { printf "%4d", $3 }; '\
 curl https://www.berlin.de/lageso/_assets/gesundheit/publikationen/corona/bezirkstabelle.csv \
 | awk 'BEGIN { FS=";"; ORS=""; print "'${today}'" }; '\
 '!/^Bezirk/ { printf "%4d", $3 }; '\
-'END { printf "\n" }' "${filename}" >> /home/plom/meldetabelle/daily_infections_table.txt
+'END { printf "\n" }' "${filename}" >> /home/plom/berlin-corona-table/daily_infections_table.txt
 
 # Write enhanced table output to directory served by web server.
 ./enhance_table.py > /var/www/html/berlin_corona.txt
 
 # Write enhanced table output to directory served by web server.
 ./enhance_table.py > /var/www/html/berlin_corona.txt