#! /bin/sh
cd /usr/share/conkyforecast/

if [ -f /usr/bin/python2 ]; then
	pythoncmd="/usr/bin/python2"
elif [ -f /usr/bin/python2.7 ] ; then
	pythoncmd="/usr/bin/python2.7"
elif [ -f /usr/bin/python2.6 ] ; then
	pythoncmd="/usr/bin/python2.6"
else
	# here's hoping!
	pythoncmd="/usr/bin/python"
fi

pythonfile="/usr/share/conkyforecast/conkyForecast-SunsetSunriseCountdown.py"

exec $pythoncmd $pythonfile "$@"
