Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On Debian-based distributions, the executable should go to /usr/games, not /usr/bin #8599

Closed
hpiirai opened this issue Jan 22, 2021 · 6 comments · Fixed by #8629
Closed

On Debian-based distributions, the executable should go to /usr/games, not /usr/bin #8599

hpiirai opened this issue Jan 22, 2021 · 6 comments · Fixed by #8629

Comments

@hpiirai
Copy link
Contributor

hpiirai commented Jan 22, 2021

Version of OpenTTD

1.11.0-beta1

Expected result

The OpenTTD executable is installed as /usr/games/openttd.

Actual result

The executable is /usr/bin/openttd.

Steps to reproduce

Install (or just unpack) any of the pre-packaged deb files from https://www.openttd.org/downloads/openttd-releases/testing.html.

@James103
Copy link
Contributor

As a workaround, can you try moving the openttd folder from /usr/bin/ to /usr/games/?

@hpiirai
Copy link
Contributor Author

hpiirai commented Jan 22, 2021

As a workaround, can you try moving the openttd folder from /usr/bin/ to /usr/games/?

It’s not a folder, just the executable – everything else is installed correctly (manpage in /usr/share/man/man6, other game files in /usr/share/games/openttd).

Of course I could move it, but it works as is. This is not a functionality problem, just a matter of adhering to conventions of the rest of the system.

@Eddi-z
Copy link
Contributor

Eddi-z commented Jan 22, 2021

I don't think this is an issue in the actual OpenTTD source code, but rather in the configuration of the build service for the .deb files

@Eddi-z
Copy link
Contributor

Eddi-z commented Jan 22, 2021

FWIW, my distribution (openSUSE) doesn't use /usr/games and google says /usr/games is an old way of doing things

i honestly don't see the point, but if it's common in deb-based distros, it should be limited to those.

@hpiirai hpiirai changed the title Linux: The executable should go to /usr/games, not /usr/bin On Debian-based distributions, the executable should go to /usr/games, not /usr/bin Jan 22, 2021
@glx22
Copy link
Contributor

glx22 commented Jan 22, 2021

@TrueBrain
Copy link
Member

@glx22 : I am fine with either one. Seems nobody else has an opinion about it either, so .. just pick one, I would say :D Which one helps the broader audience most, you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants