1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: Hack preflight-check.sh to allow Python versions other than 2.7
Author: Markus Wanner <markus@bluegap.ch>
Forwarded: no
Last-Update: 2014-07-06
--- a/preflight-check.sh
+++ b/preflight-check.sh
@@ -16,9 +16,4 @@ if [ ! -x "${PG_CONFIG}" ]; then
exit 1
fi
-if [ ${PY_VERSION} != "2.7" ] && [ ${PY_VERSION} != "2.6" ]; then
- if [ ${PY27_VERSION} != "2.7" ]; then
- echo "Found Python $PY_VERSION, but 2.6 is required."
- exit 2
- fi
-fi
+echo "Using python $PY_VERSION."
|