freebsd-ports/devel/py-xdg/files/patch-xdg::BaseDirectory.py

12 lines
441 B
Python
Raw Normal View History

--- xdg/BaseDirectory.py.orig Wed Mar 23 00:08:43 2005
+++ xdg/BaseDirectory.py Wed Mar 23 00:09:35 2005
@@ -33,7 +33,7 @@
os.path.join(_home, '.local', 'share'))
xdg_data_dirs = [xdg_data_home] + \
- os.environ.get('XDG_DATA_DIRS', '/usr/local/share:/usr/share').split(':')
+ os.environ.get('XDG_DATA_DIRS', '%%LOCALBASE%%/share').split(':')
xdg_config_home = os.environ.get('XDG_CONFIG_HOME',
os.path.join(_home, '.config'))