weather report update fix

This commit is contained in:
Luke Smith 2019-01-02 11:11:38 -05:00
parent ef3ee7ebc8
commit a63a203e3a

View file

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
[ "$(stat -c %y .weatherreport | awk '{print $1}')" != "$(date '+%Y-%m-%d')" ] && getforecast [ "$(stat -c %y /tmp/weatherreport | awk '{print $1}')" != "$(date '+%Y-%m-%d')" ] && getforecast
case $BLOCK_BUTTON in case $BLOCK_BUTTON in
1) $TERMINAL -e less -S /tmp/weatherreport ;; 1) $TERMINAL -e less -S /tmp/weatherreport ;;