Skip to content

Commit 296466c

Browse files
Fixes the run.sh for Python2 in Arch Linux
Arch linux defaults to Python 3, so `python2/run.sh` didn't work.
1 parent 49b6ed9 commit 296466c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

python2/run.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
#!/bin/sh
22

3-
python contemplate_koans.py
3+
if [ -x /usr/bin/python2 ]; then
4+
python2 contemplate_koans.py
5+
else
6+
python contemplate_koans.py
7+
fi

0 commit comments

Comments
 (0)