Browse Source

Merge pull request #1838 from maksverver/patch-1

Fix typo: $XDG_DATA_HOME should be XDG_DATA_HOME.
283
ThomasV 9 years ago
committed by GitHub
parent
commit
8dabe85cf3
  1. 2
      setup.py

2
setup.py

@ -24,7 +24,7 @@ if platform.system() in ['Linux', 'FreeBSD', 'DragonFly']:
if not os.access(opts.root_path + usr_share, os.W_OK) and \
not os.access(opts.root_path, os.W_OK):
if 'XDG_DATA_HOME' in os.environ.keys():
usr_share = os.environ['$XDG_DATA_HOME']
usr_share = os.environ['XDG_DATA_HOME']
else:
usr_share = os.path.expanduser('~/.local/share')
data_files += [

Loading…
Cancel
Save