protonscr

QA steamdeps script and steam.desktop file

steamclosed Feature Requestreviewed
ValveSoftware/steam-for-linux#671 · opened 2013-01-12 by anyc · updated 2013-02-28 · 4 comments · github
Aanyc 2013-01-12 github

Please add to following patch to /usr/bin/steamdeps: https://gist.github.com/4517832 due to the following issues:

Scripts should use /usr/bin/env python, see http://stackoverflow.com/questions/1352922/why-is-usr-bin-env-python-supposedly-more-correct-than-just-usr-bin-pyt

Steamdeps failes on my machine due to inconsistent use of sys.argv in the script.

Steamdeps should check if dpkg exists and print a useful error message if not on distributions other than debian/ubuntu based ones.

Aanyc 2013-01-12 github

Maybe checking existence of dpkg with which and return value comparison might be even better.

Aanyc 2013-01-12 github

Additionally, under Unix/Linux only line feed (LF) is used to start a new line but the steam.desktop file contains CR+LF (Windows) to indicate new lines. Please run sed -i "s/\r//g" steam.desktop in order to fix this.

Ssl1pkn07 2013-02-15 github

@slouken "Scripts should use /usr/bin/env python, see http://stackoverflow.com/questions/1352922/why-is-usr-bin-env-python-supposedly-more-correct-than-just-usr-bin-pyt"

NO

need use /usr/bin/env python2

some distros use python3. Steam GUI use python2

┌─┤[sl1pkn07]|[sL1pKn07]|[/]|
└───╼ env python
Python 3.3.0 (default, Dec 22 2012, 21:02:07)
[GCC 4.7.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
┌─┤[sl1pkn07]|[sL1pKn07]|[/]|
└───╼ env python2
Python 2.7.3 (default, Dec 22 2012, 21:14:12)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
┌─┤[sl1pkn07]|[sL1pKn07]|[/]|
└───╼ env python3
Python 3.3.0 (default, Dec 22 2012, 21:02:07)
[GCC 4.7.2] on linux
Type "help", "copyright", "credits" or "license" for more information.

Sslouken 2013-02-24 github

This is fixed for a future update, thanks!

Nothing extracted yet.