Steam for Linux

Steam for Linux

Freaker 12. des. 2012 kl. 10.49
Recommendation: use proper shebang
Most scripts (especially python scripts) use #!/usr/bin/python as shebang. To ensure compatibility among different distributions it is better to use "#!/usr/bin/env python". Additionally the major python version should be specified. On my system (gentoo) the default python interpreter is 3.2.3 which causes trouble with the python2 scripts. The ideal shebang would look like this: "#!/usr/bin/env python2"

This way you can ensure compatibility among all linux distributions.
Sist redigert av Freaker; 12. des. 2012 kl. 10.50
< >
Viser 13 av 3 kommentarer
SUSEd 13. des. 2012 kl. 1.30 
Its good but steam uses bash, not python.
[Linux] timopm 13. des. 2012 kl. 2.59 
Opprinnelig skrevet av shished:
Its good but steam uses bash, not python.

Steam/ubuntu12_32/driverhelper.py
_hx 13. des. 2012 kl. 6.44 
Opprinnelig skrevet av C55-Freaker:
The ideal shebang would look like this: "#!/usr/bin/env python2"

+1
< >
Viser 13 av 3 kommentarer
Per side: 1530 50