This commit is contained in:
Maciej Krok 2016-12-26 23:18:08 +01:00
parent a85a9694f2
commit c6b4a439d9

View File

@ -15,7 +15,7 @@ LASTTIME=$(( $(xmlstarlet sel -t -v "/xml/entries/entry/time" $WXFILE ) + $TIMEC
if (( $NOW > $LASTTIME ))
then
rm $WXFILE
wget $WXAPRS -O $WXFILE
wget -q $WXAPRS -O $WXFILE
fi
xmlstarlet sel -t -v "/xml/entries/entry/$NAMETAG" $WXFILE