Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

playonlinux-4.1.6/use-python2.patch

By: khampf on Aug 5th, 2012  |  syntax: Diff  |  size: 2.03 KB  |  views: 106  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff -urN playonlinux.orig/playonlinux playonlinux/playonlinux
  2. --- playonlinux.orig/playonlinux        2012-08-06 01:19:22.021641671 +0300
  3. +++ playonlinux/playonlinux     2012-08-06 01:20:13.255750423 +0300
  4. @@ -69,7 +69,7 @@
  5.  
  6.  [ "$(uname -s)" = "Linux" ] || die "This script must be run on a linux system"
  7.  
  8. -export PYTHON="python"
  9. +export PYTHON="python2"
  10.  export POL_OS="Linux"
  11.  export UBUNTU_MENUPROXY=0
  12.  export MACHTYPE
  13. @@ -141,4 +141,4 @@
  14.  fi
  15.  
  16.  [ $exitcode -eq 63 ] && exec "$POLDIR/playonlinux"
  17. -exit $exitcode
  18. \ No newline at end of file
  19. +exit $exitcode
  20. diff -urN playonlinux.orig/playonlinux-bash playonlinux/playonlinux-bash
  21. --- playonlinux.orig/playonlinux-bash   2012-08-06 01:19:22.021641671 +0300
  22. +++ playonlinux/playonlinux-bash        2012-08-06 01:20:31.839363354 +0300
  23. @@ -37,7 +37,7 @@
  24.         CURDIR="$(pwd)"
  25.         export MACHTYPE
  26.         cd "$WorkingDirectory"
  27. -       python "$CURDIR/python/wrapper.py" "$SCRIPTNAME" "$@"
  28. +       python2 "$CURDIR/python/wrapper.py" "$SCRIPTNAME" "$@"
  29.  else
  30.         bash "$SCRIPTNAME" "$@"
  31.  fi
  32. diff -urN playonlinux.orig/playonlinux-pkg playonlinux/playonlinux-pkg
  33. --- playonlinux.orig/playonlinux-pkg    2012-08-06 01:19:22.021641671 +0300
  34. +++ playonlinux/playonlinux-pkg 2012-08-06 01:20:39.892817581 +0300
  35. @@ -29,7 +29,7 @@
  36.         CURDIR="$(pwd)"
  37.         export MACHTYPE
  38.         cd "$WorkingDirectory"
  39. -       python "$CURDIR/python/wrapper.py" "$CURDIR/bash/$(basename "$0")" "$@"
  40. +       python2 "$CURDIR/python/wrapper.py" "$CURDIR/bash/$(basename "$0")" "$@"
  41.  else
  42.         bash "$PLAYONLINUX/bash/$(basename "$0")" "$@"
  43.  fi
  44. diff -urN playonlinux.orig/playonlinux-url_handler playonlinux/playonlinux-url_handler
  45. --- playonlinux.orig/playonlinux-url_handler    2012-08-06 01:19:22.021641671 +0300
  46. +++ playonlinux/playonlinux-url_handler 2012-08-06 01:20:49.886300702 +0300
  47. @@ -29,7 +29,7 @@
  48.         CURDIR="$(pwd)"
  49.         export MACHTYPE
  50.         cd "$WorkingDirectory"
  51. -       python "$CURDIR/python/wrapper.py" "$CURDIR/bash/$(basename "$0")" "$@"
  52. +       python2 "$CURDIR/python/wrapper.py" "$CURDIR/bash/$(basename "$0")" "$@"
  53.  else
  54.         bash "$PLAYONLINUX/bash/$(basename "$0")" "$@"
  55.  fi
clone this paste RAW Paste Data