From 1137dbb39b0ae1f7b804cbead3a83d24ecc640a1 Mon Sep 17 00:00:00 2001 From: Juhani Numminen Date: Sat, 27 Jul 2019 17:42:34 +0300 Subject: [PATCH] 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 --- docs/pysolfc.6 | 4 ++-- pysollib/settings.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/pysolfc.6 b/docs/pysolfc.6 index 435d2795..3f3fb9dd 100644 --- a/docs/pysolfc.6 +++ b/docs/pysolfc.6 @@ -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 diff --git a/pysollib/settings.py b/pysollib/settings.py index e54650ef..e026dc74 100644 --- a/pysollib/settings.py +++ b/pysollib/settings.py @@ -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