From a208dc87ee918c13fb168ed20a2fb01412344df1 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 30 Nov 2014 16:29:50 +0100 Subject: Add a check for the python version in the scripts --- launch.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'launch.sh') diff --git a/launch.sh b/launch.sh index 73b08eac..34fea7b4 100755 --- a/launch.sh +++ b/launch.sh @@ -1,4 +1,5 @@ #!/bin/sh +python3 -c 'import sys;(print("Python 3.4 or newer is required") and exit(1)) if sys.version_info < (3, 4) else exit(0)' || exit 1 poezio_dir=$(dirname "$0") VENV="poezio-venv" -- cgit v1.2.3