1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

Improve Filesystem Hierarchy Standard compliance

These are actually for binaries, not data:
/usr/games       "Games and educational binaries"
/usr/local/games "Local game binaries"

The directories for the data:
/usr/share/games "Static data files for /usr/games"

"The requirements for the contents of [/usr/local/share] are the same as for
/usr/share."

Quoting https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html
This commit is contained in:
Juhani Numminen 2019-07-27 17:42:34 +03:00 committed by Shlomi Fish
parent 70e1159947
commit 1137dbb39b
2 changed files with 4 additions and 4 deletions

View file

@ -69,9 +69,9 @@ the current directory
.br
/usr/local/share/PySolFC
.br
/usr/games/PySolFC
/usr/share/games/PySolFC
.br
/usr/local/games/PySolFC
/usr/local/share/games/PySolFC
.PP
Options are saved in \fB~/.PySolFC/options.cfg\fR
.PP

View file

@ -63,8 +63,8 @@ if os.name == 'posix':
DATA_DIRS = [
'/usr/share/PySolFC',
'/usr/local/share/PySolFC',
'/usr/games/PySolFC',
'/usr/local/games/PySolFC',
'/usr/share/games/PySolFC',
'/usr/local/share/games/PySolFC',
]
if os.name == 'nt':
pass