Add python versions to user scripts via patch
Tobias Winchen
3 years ago
0 | Description: Use preferred specification for the Python 3 interpreter | |
1 | Last-Update: 2020-12-15 | |
2 | ||
3 | --- a/src/userscripts/custom-latex-cmd.klfuserscript/custom-latex-cmd.py | |
4 | +++ b/src/userscripts/custom-latex-cmd.klfuserscript/custom-latex-cmd.py | |
5 | @@ -1,4 +1,4 @@ | |
6 | -#!/usr/bin/env python | |
7 | +#!/usr/bin/python3 | |
8 | ||
9 | # custom-latex-cmd.py | |
10 | # This file is part of the KLatexFormula Project. | |
11 | --- a/src/userscripts/customtemplate.klfuserscript/customtemplate.py | |
12 | +++ b/src/userscripts/customtemplate.klfuserscript/customtemplate.py | |
13 | @@ -1,4 +1,4 @@ | |
14 | -#!/usr/bin/env python | |
15 | +#!/usr/bin/python3 | |
16 | ||
17 | # customtemplate.py | |
18 | # This file is part of the KLatexFormula Project. | |
19 | --- a/src/userscripts/dvipng-backend.klfuserscript/dvipng-backend.py | |
20 | +++ b/src/userscripts/dvipng-backend.klfuserscript/dvipng-backend.py | |
21 | @@ -1,4 +1,4 @@ | |
22 | -#!/usr/bin/env python | |
23 | +#!/usr/bin/python3 | |
24 | ||
25 | # dvipng-backend.py | |
26 | # This file is part of the KLatexFormula Project. | |
27 | --- a/src/userscripts/gif-convert.klfuserscript/gif-convert.py | |
28 | +++ b/src/userscripts/gif-convert.klfuserscript/gif-convert.py | |
29 | @@ -1,4 +1,4 @@ | |
30 | -#!/usr/bin/env python | |
31 | +#!/usr/bin/python3 | |
32 | ||
33 | # gif-convert.py | |
34 | # This file is part of the KLatexFormula Project. | |
35 | --- a/src/userscripts/inkscapeformats.klfuserscript/inkscapeformats.py | |
36 | +++ b/src/userscripts/inkscapeformats.klfuserscript/inkscapeformats.py | |
37 | @@ -1,4 +1,4 @@ | |
38 | -#!/usr/bin/env python | |
39 | +#!/usr/bin/python3 | |
40 | ||
41 | # inkscapeformats.py | |
42 | # This file is part of the KLatexFormula Project. | |
43 | --- a/src/userscripts/klffeynmf.klfuserscript/klffeynmf.py | |
44 | +++ b/src/userscripts/klffeynmf.klfuserscript/klffeynmf.py | |
45 | @@ -1,4 +1,4 @@ | |
46 | -#!/usr/bin/env python | |
47 | +#!/usr/bin/python3 | |
48 | ||
49 | # klffeynmf.py | |
50 | # This file is part of the KLatexFormula Project. | |
51 | --- a/src/userscripts/runpdflatex.klfuserscript/runpdflatex.py | |
52 | +++ b/src/userscripts/runpdflatex.klfuserscript/runpdflatex.py | |
53 | @@ -1,4 +1,4 @@ | |
54 | -#!/usr/bin/env python | |
55 | +#!/usr/bin/python3 | |
56 | ||
57 | # runpdflatex.py | |
58 | # This file is part of the KLatexFormula Project. | |
59 | --- a/src/userscripts/svg-dvisvgm.klfuserscript/svg-dvisvgm.py | |
60 | +++ b/src/userscripts/svg-dvisvgm.klfuserscript/svg-dvisvgm.py | |
61 | @@ -1,4 +1,4 @@ | |
62 | -#!/usr/bin/env python | |
63 | +#!/usr/bin/python3 | |
64 | ||
65 | # svg-dvisvgm.py | |
66 | # This file is part of the KLatexFormula Project. | |
67 | --- a/src/userscripts/applepagesexport.klfuserscript/applepagesexport.py | |
68 | +++ b/src/userscripts/applepagesexport.klfuserscript/applepagesexport.py | |
69 | @@ -1,4 +1,4 @@ | |
70 | -#!/usr/bin/env python | |
71 | +#!/usr/bin/python3 | |
72 | ||
73 | # applepagesexport.py | |
74 | # This file is part of the KLatexFormula Project. |