summarylogtreecommitdiffstats
path: root/atom-python.patch
blob: 0f5fd6d726f3b5ee2b8509ba1b2904d645c66491 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- a/usr/share/applications/atom.desktop
+++ b/usr/share/applications/atom.desktop
@@ -2,7 +2,7 @@
 Name=Atom
 Comment=A hackable text editor for the 21st Century.
 GenericName=Text Editor
-Exec=env ATOM_DISABLE_SHELLING_OUT_FOR_ENVIRONMENT=false /usr/bin/atom %F
+Exec=env PYTHON=python2 /usr/bin/atom %U
 Icon=atom
 Type=Application
 StartupNotify=true


--- a/usr/share/atom/resources/app/apm/bin/apm
+++ b/usr/share/atom/resources/app/apm/bin/apm
@@ -2,6 +2,8 @@

 set -e

+export PYTHON=python2
+
 initialCwd=`pwd -P`

 apmPath=$0