[game-data-packager] 03/20: the variable is XDG_DATA_HOME not XDG_DATA_DIR
Simon McVittie
smcv at debian.org
Mon Jan 12 01:07:07 UTC 2015
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch master
in repository game-data-packager.
commit 8fa7d590c8ad0ad2c7c6eb6312837a08c3d84167
Author: Simon McVittie <smcv at debian.org>
Date: Sun Jan 11 15:16:40 2015 +0000
the variable is XDG_DATA_HOME not XDG_DATA_DIR
---
lib/game_data_packager/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/game_data_packager/__init__.py b/lib/game_data_packager/__init__.py
index 373af28..11f4678 100644
--- a/lib/game_data_packager/__init__.py
+++ b/lib/game_data_packager/__init__.py
@@ -1264,7 +1264,7 @@ class GameData(object):
def iter_steam_paths(self):
for prefix in (
os.path.expanduser('~/.steam'),
- os.path.join(os.environ.get('XDG_DATA_DIR', os.path.expanduser('~/.local/share')),
+ os.path.join(os.environ.get('XDG_DATA_HOME', os.path.expanduser('~/.local/share')),
'wineprefixes/steam/drive_c/Program Files/Steam'),
os.path.expanduser('~/.wine/drive_c/Program Files/Steam'),
os.path.expanduser('~/.PlayOnLinux/wineprefix/Steam/drive_c/Program_Files/Steam'),
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git
More information about the Pkg-games-commits
mailing list