mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 16:01:30 +00:00
Fix typo: $XDG_DATA_HOME should be XDG_DATA_HOME.
This commit is contained in:
parent
9182392b55
commit
b0a3347e44
1 changed files with 1 additions and 1 deletions
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 \
|
if not os.access(opts.root_path + usr_share, os.W_OK) and \
|
||||||
not os.access(opts.root_path, os.W_OK):
|
not os.access(opts.root_path, os.W_OK):
|
||||||
if 'XDG_DATA_HOME' in os.environ.keys():
|
if 'XDG_DATA_HOME' in os.environ.keys():
|
||||||
usr_share = os.environ['$XDG_DATA_HOME']
|
usr_share = os.environ['XDG_DATA_HOME']
|
||||||
else:
|
else:
|
||||||
usr_share = os.path.expanduser('~/.local/share')
|
usr_share = os.path.expanduser('~/.local/share')
|
||||||
data_files += [
|
data_files += [
|
||||||
|
|
Loading…
Add table
Reference in a new issue