From b8a276f771e3234e68769c4d075bfe10018e11f7 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 5 Apr 2013 11:04:16 -0300 Subject: Uploading version 0.6.0 --- brweather/bin/inpe-4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'brweather/bin/inpe-4') 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">' ~/.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 -- cgit v1.2.3