diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-04-05 11:04:16 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-04-05 11:04:16 -0300 |
commit | b8a276f771e3234e68769c4d075bfe10018e11f7 (patch) | |
tree | 4111caa464be85e978e73bf00f00f4c3eb930f02 /brweather/bin/inpe-4 | |
parent | a71863d7a32951b432c6b5dedb270c8e2776247d (diff) | |
download | brweather-b8a276f771e3234e68769c4d075bfe10018e11f7.tar.gz brweather-b8a276f771e3234e68769c4d075bfe10018e11f7.tar.bz2 |
Uploading version 0.6.0
Diffstat (limited to 'brweather/bin/inpe-4')
-rw-r--r-- | brweather/bin/inpe-4 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/brweather/bin/inpe-4 b/brweather/bin/inpe-4 index 54eaab8..0722ca4 100644 --- a/brweather/bin/inpe-4 +++ b/brweather/bin/inpe-4 @@ -10,6 +10,7 @@ NCN=`grep "javascript:janela('http://tempo.cptec.inpe.br/~rtempo/legenda.shtml'" NC1=`grep -m1 'title="Clique sobre o ícone para ver a legenda"></a></div>' ~/.brweather/cache/cache | cut -f12 -d'/' | cut -f1 -d'.'` # Dia +if [ $OPEN = "0" ] ; then dia(){ case $NCN in "ec") @@ -483,6 +484,7 @@ case `date "+%H"` in *) echo "" >/dev/null ;; esac +fi # Previsão do tempo as próximas horas case $NC1 in @@ -687,7 +689,7 @@ case $NC1 in C1="$IMAGE $DIRNAME/imagens/imagem$IMAGEM/ppm.png $* }" ;; *) - echo "Erro." & echo "$ERROCACHE" > ~/.brweather/log + echo "Erro." && echo "$ERROCACHE" > ~/.brweather/log C1="$IMAGE $DIRNAME/imagens/imagem$IMAGEM/nd.png $* }" ;; esac |