commit 3f9713cc932975f0442b0b658a49edbbc5febea3
parent d339652466b3e294b4c07c742c26d27b0fb1a124
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date: Sat, 11 Jan 2014 11:54:37 -0800
Merge pull request #43 from thirota/onetime-fetch_cmd
fetch_cmd variable already set in line-39.
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/ansiweather b/ansiweather
@@ -136,7 +136,6 @@ thunderstorm=$(get_config "thunderstorm" || echo "\xe2\x9a\xa1")
###[ Fetch Weather data ]######################################################
-fetch_cmd=$(get_config "fetch_cmd" || echo "curl -s")
api_cmd=$([[ $forecast != 0 ]] && echo "forecast/daily" || echo "weather")
weather=$($fetch_cmd "http://api.openweathermap.org/data/2.5/$api_cmd?q=$location&units=$units")