weather report update fix

This commit is contained in:
Luke Smith 2019-01-02 11:11:38 -05:00
parent 4bab39ad70
commit bf3c631cec
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

View File

@ -1,5 +1,5 @@
#!/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
1) $TERMINAL -e less -S /tmp/weatherreport ;;