92323c3b39
PR: ports/160680 Submitted by: Veniamin Gvozdikov <g.veniamin@googlemail.com> (maintainer)
21 lines
643 B
Text
21 lines
643 B
Text
--- conkyForecast-SunsetSunriseCountdown.orig 2011-09-12 18:04:11.318676684 +0400
|
|
+++ conkyForecast-SunsetSunriseCountdown 2011-09-12 18:04:42.204794053 +0400
|
|
@@ -1,17 +1,6 @@
|
|
#! /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 "$@"
|
|
+/usr/bin/env python $pythonfile "$@"
|