[arch-general] simple trick to make dealing with python 2/3 scripts easier
Anthony ''Ishpeck'' Tedjamulia
archlinux at ishpeck.net
Sat Aug 18 00:24:21 EDT 2012
On Fri, Aug 17, 2012 at 11:09:06AM -0700, Ben Booth wrote:
> remove the /usr/bin/python symlink and replace with this shell script:
>
> #!/usr/bin/env bash
> exec /usr/bin/"${PYTHON:-python3}" "$@"
Bravo! I approve.
This solution is 0.99 times as good as the option to just not
have Python 3
More information about the arch-general
mailing list