diff options
author | Beech Rintoul <beech@FreeBSD.org> | 2011-09-12 22:04:49 +0000 |
---|---|---|
committer | Beech Rintoul <beech@FreeBSD.org> | 2011-09-12 22:04:49 +0000 |
commit | 92323c3b39f9c8dbbe0c5bd037fd802a4f7af6cd (patch) | |
tree | 6d558c46047fb0209a8b7316f239e7d9ff3c9416 /deskutils/conkyforecast/files/patch-conkyForecast-SunsetSunriseCountdown | |
parent | Fix build with clang. (diff) |
- Update to 2.2.0
PR: ports/160680
Submitted by: Veniamin Gvozdikov <g.veniamin@googlemail.com> (maintainer)
Notes
Notes:
svn path=/head/; revision=281705
Diffstat (limited to 'deskutils/conkyforecast/files/patch-conkyForecast-SunsetSunriseCountdown')
-rw-r--r-- | deskutils/conkyforecast/files/patch-conkyForecast-SunsetSunriseCountdown | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/deskutils/conkyforecast/files/patch-conkyForecast-SunsetSunriseCountdown b/deskutils/conkyforecast/files/patch-conkyForecast-SunsetSunriseCountdown new file mode 100644 index 000000000000..f33256471011 --- /dev/null +++ b/deskutils/conkyforecast/files/patch-conkyForecast-SunsetSunriseCountdown @@ -0,0 +1,21 @@ +--- 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 "$@" |