diff -ur lyx-2.3.2.orig/development/cmake/doc/ReplaceValues.py lyx-2.3.2/development/cmake/doc/ReplaceValues.py
--- lyx-2.3.2.orig/development/cmake/doc/ReplaceValues.py 2018-12-09 20:04:52.000000000 +0000
+++ lyx-2.3.2/development/cmake/doc/ReplaceValues.py 2018-12-11 11:15:32.527483449 +0000
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/python3
from __future__ import print_function
diff -ur lyx-2.3.2.orig/development/cmake/po/cat.py lyx-2.3.2/development/cmake/po/cat.py
--- lyx-2.3.2.orig/development/cmake/po/cat.py 2018-12-09 20:04:52.000000000 +0000
+++ lyx-2.3.2/development/cmake/po/cat.py 2018-12-11 11:15:32.526483446 +0000
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/python3
from __future__ import print_function
diff -ur lyx-2.3.2.orig/development/cmake/po/unix2dos.py lyx-2.3.2/development/cmake/po/unix2dos.py
--- lyx-2.3.2.orig/development/cmake/po/unix2dos.py 2018-12-09 20:04:52.000000000 +0000
+++ lyx-2.3.2/development/cmake/po/unix2dos.py 2018-12-11 11:15:32.526483446 +0000
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/python3
###############
import sys
diff -ur lyx-2.3.2.orig/development/tools/generate_symbols_images.py lyx-2.3.2/development/tools/generate_symbols_images.py
--- lyx-2.3.2.orig/development/tools/generate_symbols_images.py 2018-12-09 20:04:52.000000000 +0000
+++ lyx-2.3.2/development/tools/generate_symbols_images.py 2018-12-11 11:15:32.530483457 +0000
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/python3
# -*- coding: utf-8 -*-
# file generate_symbols_images.py
diff -ur lyx-2.3.2.orig/development/tools/generate_symbols_list.py lyx-2.3.2/development/tools/generate_symbols_list.py
--- lyx-2.3.2.orig/development/tools/generate_symbols_list.py 2018-12-09 20:04:52.000000000 +0000
+++ lyx-2.3.2/development/tools/generate_symbols_list.py 2018-12-11 11:15:32.528483451 +0000
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/python3
# -*- coding: utf-8 -*-
# file generate_symbols_images.py
diff -ur lyx-2.3.2.orig/development/tools/gen_lfuns.py lyx-2.3.2/development/tools/gen_lfuns.py
--- lyx-2.3.2.orig/development/tools/gen_lfuns.py 2018-12-09 20:04:52.000000000 +0000
+++ lyx-2.3.2/development/tools/gen_lfuns.py 2018-12-11 11:15:32.529483454 +0000
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/python3
# -*- coding: utf-8 -*-
# file gen_lfuns.py
diff -ur lyx-2.3.2.orig/development/tools/mergepo.py lyx-2.3.2/development/tools/mergepo.py
--- lyx-2.3.2.orig/development/tools/mergepo.py 2018-12-09 20:04:52.000000000 +0000
+++ lyx-2.3.2/development/tools/mergepo.py 2018-12-11 11:15:32.527483449 +0000
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/python3
# -*- coding: utf-8 -*-
# file mergepo.py
diff -ur lyx-2.3.2.orig/development/tools/unicodesymbols.py lyx-2.3.2/development/tools/unicodesymbols.py
--- lyx-2.3.2.orig/development/tools/unicodesymbols.py 2018-12-09 20:04:52.000000000 +0000
+++ lyx-2.3.2/development/tools/unicodesymbols.py 2018-12-11 11:15:32.529483454 +0000
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/python3
# -*- coding: utf-8 -*-
# file unciodesymbols.py
diff -ur lyx-2.3.2.orig/development/tools/updatedocs.py lyx-2.3.2/development/tools/updatedocs.py
--- lyx-2.3.2.orig/development/tools/updatedocs.py 2018-12-09 20:04:52.000000000 +0000
+++ lyx-2.3.2/development/tools/updatedocs.py 2018-12-11 11:15:32.529483454 +0000
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/python3
# -*- coding: utf-8 -*-
# file updatedocs.py
diff -ur lyx-2.3.2.orig/development/tools/updatelayouts.py lyx-2.3.2/development/tools/updatelayouts.py
--- lyx-2.3.2.orig/development/tools/updatelayouts.py 2018-12-09 20:04:52.000000000 +0000
+++ lyx-2.3.2/development/tools/updatelayouts.py 2018-12-11 11:15:32.527483449 +0000
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/python3
# -*- coding: utf-8 -*-
# file updatelayouts.py
diff -ur lyx-2.3.2.orig/lib/configure.py lyx-2.3.2/lib/configure.py
--- lyx-2.3.2.orig/lib/configure.py 2018-12-09 20:04:52.000000000 +0000
+++ lyx-2.3.2/lib/configure.py 2018-12-11 11:15:32.536483473 +0000
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#!/usr/bin/python3
# -*- coding: utf-8 -*-
#
# file configure.py
diff -ur lyx-2.3.2.orig/lib/lyx2lyx/lyx2lyx lyx-2.3.2/lib/lyx2lyx/lyx2lyx
--- lyx-2.3.2.orig/lib/lyx2lyx/lyx2lyx 2018-12-09 20:04:52.000000000 +0000
+++ lyx-2.3.2/lib/lyx2lyx/lyx2lyx 2018-12-11 11:15:32.537483475 +0000
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/python3
# -*- coding: utf-8 -*-
# Copyright (C) 2002-2011 The LyX Team
# Copyright (C) 2002-2007 José Matos <jamatos@lyx.org>
diff -ur lyx-2.3.2.orig/lib/lyx2lyx/profiling.py lyx-2.3.2/lib/lyx2lyx/profiling.py
--- lyx-2.3.2.orig/lib/lyx2lyx/profiling.py 2018-12-09 20:04:52.000000000 +0000
+++ lyx-2.3.2/lib/lyx2lyx/profiling.py 2018-12-11 11:15:32.538483478 +0000
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/python3
# -*- coding: utf-8 -*-
# Copyright (C) 2004 José Matos <jamatos@lyx.org>
#
diff -ur lyx-2.3.2.orig/lib/scripts/gnuplot2pdf.py lyx-2.3.2/lib/scripts/gnuplot2pdf.py
--- lyx-2.3.2.orig/lib/scripts/gnuplot2pdf.py 2018-12-09 20:04:52.000000000 +0000
+++ lyx-2.3.2/lib/scripts/gnuplot2pdf.py 2018-12-11 11:15:01.032400237 +0000
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
from subprocess import Popen, PIPE
from sys import argv, stderr, exit
diff -ur lyx-2.3.2.orig/lib/scripts/listerrors lyx-2.3.2/lib/scripts/listerrors
--- lyx-2.3.2.orig/lib/scripts/listerrors 2018-12-09 20:04:52.000000000 +0000
+++ lyx-2.3.2/lib/scripts/listerrors 2018-12-11 12:55:27.649147444 +0000
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
# file listerrors
# This file is part of LyX, the document processor.
diff -ur lyx-2.3.2.orig/lib/scripts/svg2pdftex.py lyx-2.3.2/lib/scripts/svg2pdftex.py
--- lyx-2.3.2.orig/lib/scripts/svg2pdftex.py 2018-12-09 20:04:52.000000000 +0000
+++ lyx-2.3.2/lib/scripts/svg2pdftex.py 2018-12-11 12:57:35.817461831 +0000
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
# -*- coding: utf-8 -*-
# file svg2pdftex.py
diff -ur lyx-2.3.2.orig/lib/scripts/svg2pstex.py lyx-2.3.2/lib/scripts/svg2pstex.py
--- lyx-2.3.2.orig/lib/scripts/svg2pstex.py 2018-12-09 20:04:52.000000000 +0000
+++ lyx-2.3.2/lib/scripts/svg2pstex.py 2018-12-11 12:57:08.881395754 +0000
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
# -*- coding: utf-8 -*-
# file svg2pstex.py
diff -ur lyx-2.3.2.orig/po/lyx_pot.py lyx-2.3.2/po/lyx_pot.py
--- lyx-2.3.2.orig/po/lyx_pot.py 2018-12-09 20:04:52.000000000 +0000
+++ lyx-2.3.2/po/lyx_pot.py 2018-12-11 12:54:59.674078823 +0000
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
# -*- coding: utf-8 -*-
# file lyx_pot.py
diff -ur lyx-2.3.2.orig/src/graphics/GraphicsConverter.cpp lyx-2.3.2/src/graphics/GraphicsConverter.cpp
--- lyx-2.3.2.orig/src/graphics/GraphicsConverter.cpp 2018-12-09 20:04:52.000000000 +0000
+++ lyx-2.3.2/src/graphics/GraphicsConverter.cpp 2018-12-11 12:56:36.345315949 +0000
@@ -287,7 +287,7 @@
LYXERR(Debug::GRAPHICS, "build_script ... ");
typedef Graph::EdgePath EdgePath;
- script << "#!/usr/bin/env python\n"
+ script << "#!/usr/bin/python3\n"
"# -*- coding: utf-8 -*-\n"
"import os, shutil, sys\n\n"
"def unlinkNoThrow(file):\n"
diff -ur lyx-2.3.2.orig/src/tex2lyx/test/runtests.py lyx-2.3.2/src/tex2lyx/test/runtests.py
--- lyx-2.3.2.orig/src/tex2lyx/test/runtests.py 2018-12-09 20:04:52.000000000 +0000
+++ lyx-2.3.2/src/tex2lyx/test/runtests.py 2018-12-11 11:15:32.532483462 +0000
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/python3
# -*- coding: utf-8 -*-
# file src/tex2lyx/test/runtests.py