ola galera tenho uma conky instalei tudo certo mas ele nao mostra temperatura da esse erro [RESOLVID

1. ola galera tenho uma conky instalei tudo certo mas ele nao mostra temperatura da esse erro [RESOLVID

carlos augusto diniz filho
ysneshy

(usa Arch Linux)

Enviado em 10/11/2013 - 16:37h

/usr/share/conkycolors/bin/conkyBBCWeather: line 19: curl: comando não encontrado


mas nesse aruqivo tem isso e nao vejo erro nenhum

#!/bin/bash
# By helmuthdu

MIN="min"
MAX="max"
CUR="cur"
HUMIDITY="hum"
UNIT="c"


if [ "$3" == "$UNIT" ]; then
if [ "$1" == "$CUR" ]; then
curl -s --connect-timeout 30 "http://open.live.bbc.co.uk/weather/feeds/en/$2/observations.rss" | sed -n '/Temperature/p' | sed -e 's/°/ /g' | sed -e 's/%/%/g' | sed 's/^.*Temperature: $
elif [ "$1" == "$MAX" ]; then

curl -s --connect-timeout 30 "http://open.live.bbc.co.uk/weather/feeds/en/$2/3dayforecast.rss" | sed -n '/Max Temp/p' | sed '2!d' | sed -e 's/&#xB0;/ /g' | sed -e 's/&#37;/%/g' | sed 's/<[^>]*>$

elif [ "$1" == "$MIN" ]; then

curl -s --connect-timeout 30 "http://open.live.bbc.co.uk/weather/feeds/en/$2/3dayforecast.rss" | sed -n '/Max Temp/p' | sed '2!d' | sed -e 's/&#xB0;/ /g' | sed -e 's/&#37;/%/g' | sed 's/<[^>]*>$

elif [ "$1" == "$HUMIDITY" ]; then

curl -s --connect-timeout 30 "http://open.live.bbc.co.uk/weather/feeds/en/$2/3dayforecast.rss" | sed -n '/Max Temp/p' | sed '2!d' | sed -e 's/&#xB0;/ /g' | sed -e 's/&#37;/%/g' | sed 's/<[^>]*>$

fi
else
if [ "$1" == "$CUR" ]; then
curl -s --connect-timeout 30 "http://open.live.bbc.co.uk/weather/feeds/en/$2/observations.rss" | sed -n '/Temperature/p' | sed -e 's/&#xB0;/ /g' | sed -e 's/&#37;/%/g' | sed 's/^.*Temperature: $
elif [ "$1" == "$MAX" ]; then
curl -s --connect-timeout 30 "http://open.live.bbc.co.uk/weather/feeds/en/$2/3dayforecast.rss" | sed -n '/Max Temp/p' | sed '2!d' | sed -e 's/&#xB0;/ /g' | sed -e 's/&#37;/%/g' | sed 's/^.*Max $
elif [ "$1" == "$MIN" ]; then
curl -s --connect-timeout 30 "http://open.live.bbc.co.uk/weather/feeds/en/$2/3dayforecast.rss" | sed -n '/Max Temp/p' | sed '2!d' | sed -e 's/&#xB0;/ /g' | sed -e 's/&#37;/%/g' | sed 's/^.*Min $
elif [ "$1" == "$HUMIDITY" ]; then
curl -s --connect-timeout 30 "http://open.live.bbc.co.uk/weather/feeds/en/$2/3dayforecast.rss" | sed -n '/Max Temp/p' | sed '2!d' | sed -e 's/&#xB0;/ /g' | sed -e 's/&#37;/%/g' | sed 's/<[^>]*>$
fi
fi



ja reinstalei varias vezes mas isso nao some o erro







  


2. MELHOR RESPOSTA

Pedro
px

(usa Debian)

Enviado em 10/11/2013 - 17:07h

Instale o pacote "curl"

3. Re: ola galera tenho uma conky instalei tudo certo mas ele nao mostra temperatura da esse erro [RESOLVID

carlos augusto diniz filho
ysneshy

(usa Arch Linux)

Enviado em 10/11/2013 - 18:05h

i love viva linux funcionou e eu instalando monte de conky forecast ettc e nadaa pegava






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts