updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / playonlinux / use-python2.patch
blobce8b28f160589efa1298c0a2ec4eb9996a7f413d
1 diff -Naur playonlinux/playonlinux playonlinux.new/playonlinux
2 --- playonlinux/playonlinux 2011-08-20 14:09:24.000000000 +0200
3 +++ playonlinux.new/playonlinux 2011-08-22 10:44:44.798800177 +0200
4 @@ -25,7 +25,7 @@
6 [ "$(uname -s)" = "Linux" ] || die "This script must be run on a linux system"
8 -export PYTHON="python"
9 +export PYTHON="python2"
10 export POL_OS="Linux"
11 export UBUNTU_MENUPROXY=0
12 export MACHTYPE
13 diff -Naur playonlinux/playonlinux-bash playonlinux.new/playonlinux-bash
14 --- playonlinux/playonlinux-bash 2011-08-20 14:09:24.000000000 +0200
15 +++ playonlinux.new/playonlinux-bash 2011-08-22 10:44:52.182134319 +0200
16 @@ -36,7 +36,7 @@
17 CURDIR="$(pwd)"
18 cd python
19 export MACHTYPE
20 - python wrapper.py "$SCRIPTNAME" "$@"
21 + python2 wrapper.py "$SCRIPTNAME" "$@"
22 else
23 bash "$SCRIPTNAME" "$@"
25 diff -Naur playonlinux/playonlinux-pkg playonlinux.new/playonlinux-pkg
26 --- playonlinux/playonlinux-pkg 2011-08-20 14:09:24.000000000 +0200
27 +++ playonlinux.new/playonlinux-pkg 2011-08-22 10:45:24.558803582 +0200
28 @@ -28,7 +28,7 @@
29 CURDIR="$(pwd)"
30 cd python
31 export MACHTYPE
32 - python wrapper.py "$CURDIR/bash/$(basename "$0")" "$@"
33 + python2 wrapper.py "$CURDIR/bash/$(basename "$0")" "$@"
34 else
35 bash "$PLAYONLINUX/bash/$(basename "$0")" "$@"
37 diff -Naur playonlinux/playonlinux-url_handler playonlinux.new/playonlinux-url_handler
38 --- playonlinux/playonlinux-url_handler 2011-08-20 14:09:24.000000000 +0200
39 +++ playonlinux.new/playonlinux-url_handler 2011-08-22 10:45:05.278801914 +0200
40 @@ -28,7 +28,7 @@
41 CURDIR="$(pwd)"
42 cd python
43 export MACHTYPE
44 - python wrapper.py "$CURDIR/bash/$(basename "$0")" "$@"
45 + python2 wrapper.py "$CURDIR/bash/$(basename "$0")" "$@"
46 else
47 bash "$PLAYONLINUX/bash/$(basename "$0")" "$@"